[00:02] hello [00:02] spiv, jam, igc, lifeless, call in a minute [00:07] jelmer: ? [00:08] markh, hi [00:08] hi jelmer - I see you made a change for that crash on osx - is there anything I should do for windows binaries? [00:09] I saw another bug report recently and marked it as a dupe [00:09] but its a dupe of the osx one (which the other windows crash bug is too), and that is marked as fixed [00:09] abentley: bundlebuggy seems to be giving 502 atm [00:10] markh, there were other fixes for Windows by Snaury as well [00:10] jelmer: so if I just rebuild all should be good? [00:10] markh: Yeah, I think so [00:10] that was the perfect answer :) [00:11] do I need to move to 1.5 or anything? [00:11] I would recommend building against 1.5 but for other reasons (several bugfixes that may be relevant, more protocol calls available to svn) [00:12] ok - iirc that will require some tweaks to setup.py as the list of libs has changed. I'll see how I get on... [00:13] (that was the only reason I dropped back to 1.4 in the first place - the existing list of libs was already correct!) [00:14] markh, Snaury tweaked some of that as well afaik [00:23] Soliton: restarted [00:23] spiv: restarted [00:23] abentley: thanks! [00:43] wuu patches. [00:47] abentley: you nearly got spivs origin correct [00:47] lifeless: Hee. [00:59] poolie: does your updated patch address the problem I noticed here: http://paste.ubuntu.com/47029/ ? [01:32] so, ah, again, i renamed some files from bin/ of my repo to scripts/, because bin/ is really a virtualenv and it ends up with all these generated scripts which show up in 'bzr status', i want to just add bin/ to ignores, but i can't get my parent branch to show the change. [01:44] justizin: you need to commit changes to your ignore file. [01:51] jml: i haven't changed the ignore yet, i only moved the files which i want source-controlled, and my 'master' branch doesn't show the rename.. [01:51] even after a bzr update [01:52] also, now i am trying to merge with an svn branch and i get: bzr: ERROR: Revision {('',)} not present in "". [01:52] woo fun :) [01:52] this is a relatively old bzr 1.5 and older bzr-svn, of course.. looking forward to intrepid. [01:53] but it's been working fine for months, just think this is odd.. [01:53] for instance, i bzr mv bin/disable-stuff scripts/disable-stuff [01:53] in the repo on my laptop where i'm working, the change is there, i committed, i pushed, and on the server, i ran bzr update.. [01:53] and i checked everything i could think of. [01:53] both report the same rev # [01:54] but the contents diverge [01:54] Oo [01:58] justizin: so maybe you need to merge one into the other. [01:58] tried merge, says nothing to do.. [01:58] only changes in one branch, atm.. [01:59] so, what are you trying to do? === kiko is now known as kiko-zzz === abentley1 is now known as abentley [02:34] poolie: ping [02:37] jml: i'm trying to see my changes in the parent branch. [02:38] bzr says everything is fine, that the tree is up to date, but i'm saying, dude, it's not. [02:39] justizin: ok. so you have two branches, you've made changes in one and not in the parent branch? [02:39] how did you tell bzr about those changes? (maybe you could paste a log to http://paste.ubuntu.com?) [02:39] that is correct. i commit. i push. i merge. i pull. i checkout. i update. no dice. [02:40] i don't have a log handy, but i did as i normally do. i understand the concepts of push, pull, merge, working trees and when i push over ssh, the working tree isn't updated.. [02:40] oh ok. [02:40] so they report the same rev #, attempts to push or merge say that there is nothing to do, bzr status / diff on my laptop shows no changes uncommitted, and bzr update on the server says also, nothing to do, tree is updated.. [02:41] i guess the next thing to check to be 100% is that a branch off the server has the new changes, though it's tree doesn't.. [02:41] yeah, that's worth checking [02:43] yah a fresh checkout shows the changes.. [02:43] bewildering [02:43] justizin: what does "bzr revision-info" report? [02:43] i'd nuke the server copy, but it's a branch of svn and i'm afraid i'll lose heritage [02:44] 135 justizin@justin-ryans-macbook-pro-15.local-20080915190426-w8st6jjdasmd24ox [02:44] for both [02:44] and that'd be the commit from my laptop. [02:44] So, they are exactly the same branch then. [02:45] yah, but the working tree on the server is broken, which is my public http browsification [02:45] justizin: so you want to update the working tree on the server? [02:47] yah and again i understand when i push over ssh that doesn't happen, so i'm on the server and bzr update says the tree is up-to-date, though it's inconsistent with other branches, even the fresh one i just created *from* the branch with the broken wt [02:47] justizin: perhaps you want to be using one of these plugins? or [02:47] spiv: possibly, but again, i'm fine with manually updating the tree for now, it just refuses to update.. [02:47] justizin: does 'bzr info' in the tree on the server report the branch URL you expect? [02:48] well it's a branch from an svn repo [02:48] And what does "bzr status" say? [02:48] one sec.. [02:48] (info does report as expected btw) [02:49] well as of now it has pending merges from svn, which is a new problem, but the issue i'm talking about with the working tree was pre-existing.. [02:49] So the working tree has uncommitted changes? [02:49] and, fwiw, i am now getting: bzr: ERROR: Revision {('',)} not present in "". [02:50] well, it does as of about 20 min ago [02:50] the working tree problem is maybe 8-12 hours ol [02:50] old [02:50] Uncommitted changes would explain why the working tree's contents don't match the last revision in the branch. [02:50] it doesn't even have uncommitted changes, it's odd.. i reverted the files from the merge earlier and it just says pending merges with no other change info.. [02:50] no, they can't, because time only moves forwards - check wikipedia. ;) [02:50] the working tree problem is pre-existing [02:51] now of course it's all flubbed up and i take responsibility for that [02:51] The revision not present error sounds like a bzr-svn bug. [02:51] possibly, i don't have the latest bzr-svn b/c i'm using ubuntu hardy heron packages.. [02:51] i think i'll just end up creating a new bzr repo and futzing the svn merges on this.. [02:51] So I don't understand your problem. If "bzr update" says the branch is up to date, and "bzr status" says no files are changed in the tree, then there are no changes. [02:52] yeah, but i am a human and my brain says the files are laid out differently in a fresh branch from here.. [02:52] Is "bzr status" in the fresh branch clean? [02:52] i moved files from bin/ to scripts/ in my repo, and they are moved on my laptop where i moved them, and they are moved in a fresh branch from the server to a temp location.. [02:53] the fresh branch was created during this conversation.. [02:53] as a means of verifying that the bzr repo had the changes, but the working tree on the server, itself, was broken.. [02:53] Sure, we're at the point where there's a wrong assumption somewhere, I think, so you'll have to pardon the dumb questions :) [02:53] no it's ok [02:54] i'm just frustrated and of course i explained some of this to other people over the course of the day [02:54] (Hopefully I don't need to question http://en.wikipedia.org/wiki/Arrow_of_time ;) [02:54] and now i hosed the repo for bzr *and* svn so it's all gone to hell and confusing ;d [02:54] i realized while i was explaining the problem from earlier today that i came back in here for the new missing revision problem, in the same bzr branch / repo. [02:55] it's ok, i'm learning. noone's life support fails if this branch dies, and none of my customers will fire me. :) [02:55] and if i wasn't using outdated code, i'd be helping to test bzr and bzr-svn :-P [02:55] i noticed that bzr can be installed via setuptools now, btw - super rad. [02:55] thinking of taking advantage of that for our plone deployment. [02:56] so i can distribute a tarball of a buildout that installs bzr and pulls dev code. [02:56] maybe.. [03:00] So I don't have any idea where your problem is. If you have two up-to-date working trees at the same revision, and no uncommitted changes (i.e. a clean 'bzr st'), then I don't see any way for them to have different contents in their versioned files. [03:00] jml, pong [03:05] poolie: so, with your patch applied to bzr.dev, I can branch stacked branches into shared repos, but not standalone. [03:05] poolie: I get the same error that I pasted yesterday. [03:05] http://paste.ubuntu.com/47029/ [03:06] ok [03:06] that's good to know [03:06] in a way [03:06] you also said you had conflicts? [03:06] poolie: yeah, in remote.py and test_remote.py [03:07] jml: how recent is your bzr.dev? (It's probably unlikely, but I'm wondering if revno 3709 might help?) [03:07] spiv: 3709 [03:07] the clash is with the changes in r3695 [03:09] poolie: so, should I file a separate, critical bug for the AttributeError problem? [03:11] that'd be good, and assign it to me [03:15] http://dev.mysql.com/tech-resources/articles/advanced-bazaar.html [03:15] w00t [03:17] hello beuno [03:18] hey poolie [03:18] how are you? [03:20] poolie: https://bugs.edge.launchpad.net/bzr/+bug/270738 [03:20] Launchpad bug 270738 in bzr "AttributeError when branching stacked branches" [Critical,New] [03:37] there are a shorter form of 'mkdir bzr; cd bzr; bzr init-repo .' ? [03:38] mlh: "bzr init-repo bzr ; cd bzr" [03:38] I see that sequence mentioned in more than one place and wonder whether just 'bzr init-repo bzr ; cd bzr' might be better [03:39] yer [03:39] I just read Bueno's link above, and also the bzr hacking guide and they both have that triple in preference [03:40] whereas the double I think is more intuitiev and reliable [03:41] I prefer the double too. [03:42] A bzr newbie might look askance at the amount of typing required just to start a repo [03:42] perhaps bzr init-repo somedir used not to work in some older version of bzr? [03:46] jml: poolie will be a minute [03:46] mt,ignore me [03:46] * jml ignores. === bob2_ is now known as bob2 [04:20] poolie: Want to talk about Launchpad bzr teams? [04:39] jam: ? [04:45] abentley, hi, just saw your mail about them [04:45] and also about process - i was hoping someone else might reply [04:47] poolie: Oh well. [04:47] ? [04:48] so that was a yes, i'm happy to talk about them [04:49] Okay, what do you think about the plan I outlined? [04:51] i thought there might be other teams that need to be cleared up [04:51] um [04:51] presumably after the last step you're wanting to leave ~bazaar-overall yourself and rejoin ~bzr? [04:52] Right. [04:52] bazaar-overall is already a member of Loom-developers and the RSS thing. [04:52] reassigning people is probably a pita but perhaps a rubber duck will do it [04:52] rubber duck? [04:53] a launchpad admin [04:53] no duckie will do this [04:54] personally, I'd leave ~bzr where it is and just change owners on the projects that shouldn't be owned by ~bzr [04:54] there is also a ~bzr-developers, do you know how that's supposed to fit in? [04:54] poolie: My original idea was to create a *new* team to be the just-the-bazaar-codebase team. But then you wanted to make bzr mean that. [04:54] so that would not require people to move around, which might be less traumatic [04:55] lifeless points out we don't necessarily need to move people [04:55] they can join ~bazaar-overall if they want to [04:55] bzr-developers was my original "just-bzr" team. [04:56] poolie: I think it would be surprising for members of ~bzr to suddenly stop getting updates about all the various plugins and stuff. [04:57] poolie: i.e. I don't think that moving people to bzr-overall is optional or opt-in. It would be disruptive not to move them, if we follow that plan. [04:59] abentley: I think its more disruptive to have to move and rename all the branches etc [05:00] well, let me put my 2c in. I want you to get what you want here [05:00] lifeless: Why would we have to move and rename branches? [05:01] personally, I will want to end up getting the notifications I get; and I don't want to have to update push urls en-masse (though I'm happy to do so in an adhoc basis subsequent to teams and owners being sorted) [05:01] abentley: there are a bunch of ~bzr owned branches for various plugins [05:01] abentley: if 'bzr' is renamed, their urls will change [05:02] lifeless: I didn't think any of our plans involved renaming 'bzr'. [05:02] beyond that, I'm happy with anything [05:02] abentley: the bzr team I mean [05:02] '~bzr' in lp namespace terms [05:03] lifeless: Still, I don't think any of our plans involved renaming ~bzr. [05:03] ok [05:03] But we might well end up changing ownership of a bunch of plugin branches. [05:04] So they would go from ~bzr to ~bazaar-overall or something. [05:05] hey guys [05:05] jml: moo [05:06] poolie: So do you have an idea how you want to proceed? [05:06] is this a new bug or an old one: 'bzr info -v http://mumak.net/code/stacked' raises an error and 'bzr info -v nosmart+http://mumak.net/code/stacked' does not [05:07] abentley, it does seem like making ~bzr-developers own bzr is a smaller change [05:07] and then ~bzr will be a member of that [05:07] then you can change your membership but other people won't be affected [05:07] the server is using 1.6.1 from the ppa and I'm using bzr.dev with poolie's patch applied. [05:07] possibly we should rename ~bzr-developers to ~bzr-core-dev or something [05:07] poolie: Sure, whatever you like. [05:08] jml: I don't know whether it's a regression. [05:08] can you see any problems with that? [05:09] poolie: I think the original reason you didn't want to do that was because the PPA locations would change, or something likethat. [05:10] so we can't really rename ~bzr or stop using it for the ppa without causing that disruption [05:10] in retrospect teams for ppas should be dedicated only to that purpose [05:10] but i think if we do just this it should be ok [05:10] so should i do this now? [05:10] poolie: That would be great. [05:13] jml: My bzr.dev is prolly out of date, but info -v does not raise an error on that URL. [05:13] jelmer: still here? [05:15] jml: I am on revno 3698. [05:16] abentley: 3709 personally [05:16] abentley: interesting, my bzr.dev is 3702 and does traceback [05:17] tracebacks after bzr revert -r 3698 too, though [05:18] pycurl? [05:18] i don't have pycurl installed [05:20] jml: False data. I had mistyped the URL slightly. [05:20] lifeless: how can I force urllib? [05:21] jml: http+urllib [05:21] http+urliib ? [05:23] * jml gets the same with urllib [05:23] * abentley reminds the crowd that his original statement was wrong; it does traceback for him now. [05:24] abentley: I hear you :) [05:24] My best guess is that the repository isn't getting stacked. [05:26] jml: Do other operations on that URL work? [05:33] * abentley is off to bed. [05:33] * jml tries some [05:34] branch works [05:34] info doesn't. [05:34] BzrDir.clone probably doesn't [05:37] spiv: have reviewed for you, wasn't happy enough to approve, wasn't unhappy enough to resubmit [05:39] spiv: so I just commented [05:40] mwhudson_: welcome back [05:40] * mwhudson_ grrs [05:40] networkmanager appears to have gone on holiday on my macbook [05:49] abentley, ok, bazaar-overall should no longer be necessary [05:49] biab === mwhudson__ is now known as mwhudson === Snaury is now known as Snaury[away] [06:36] lifeless: that's great, thanks! I've replied; any thoughts on a better name/location than test_effort? [07:01] Goood.. hello guys [07:08] which platforms or distribution methods get the full html versions of the docs? [07:25] spiv: well, I'd have put it in test_remote I think [07:26] spiv: as I expect there will be a number of similar tests and they are all remote-centric AIUI [07:26] markh: dunno ? :P [07:26] markh: docs.bazaar-vcs.org :P [07:27] they are a nice source of pre-generated xhtml versions of each of the help topics I'm trying to work out if I can leverage :) [07:28] generating html at runtime from the 'rst-like' help text in bzrlib doesn't sound like fun [07:29] lifeless: I expect there will be too, which is why I don't want them in test_remote. [07:30] spiv: I don't understand [07:30] I think I'm hearing 'because these things are related to remote tests and will be similar to each other I don't want them with other remote tests' [07:31] I don't mind them being "with" other remote tests, I just don't want them in the existing test_remote module. [07:32] so I'd rather have the new tests in test_remote_SOMETHING, or make a bzrlib/tests/remote/ directory with test_marshalling and test_effort in it, or a solution like that. [07:33] Because test_remote is already quite large, and I don't like test modules with a vague purpose like "test everything related to bzrlib/remote.py". [07:33] Does that make sense? [07:35] I'd prefer you made remote tests into a package than a concept-related test module, because all our other tests are module/class/method related, not concept. [07:35] Basically, I see these tests as being in a related but definitely distinct category to the tests in test_remote [07:36] wow my arms are still itchy as hell from the allergy test [07:37] A package is fine with me, and it sounds like it's ok with you? If so, I'll do that. [07:38] hang a sec [07:38] mailing [07:38] Ok. [07:42] ok, mailed [07:42] writing a paragraph helps me think sometimes [07:43] anyhow, bzrlib.tests.per_branch.test_push is where I think it belongs [07:43] Really? Interesting. [07:43] the mail should be there now, read it and lets chat more if it doesn't make sense [07:47] I was thinking that a per_branch test would be low bang-for-buck, and also significantly more complex, because the RPC count for push could legitimately be different for different formats. [07:47] fork() [07:47] (especially while we still fallback to VFS for various things) [07:48] on the one hand, I think this is too low level anyhow, it really demands to be cmd_push that is tested [07:48] (Currently that patch has a test for both cmd_push and for branch_object.push) [07:49] on the other branch, I would set an upper ratchet on a per-branch types, if they are different [07:49] uhm anyhow [07:49] My key concern is SUT<->TestCode connections [07:52] Yes, that's very important. [07:52] I don't think grouping tests by the fact they test overall effort is useful [07:53] (We don't test all the e.g. constructor method tests together) [07:53] No, me either. [07:53] so cmd_push's test should definitely be in blackbox/tests/test_push.py IMO [07:53] (Even though it was the way I was leaning initially) [07:53] the branch.push test I would be happy with either a per_branch, or a specific format test [07:54] doing per_branch would mean that new formats get coverage by default [07:54] See, that's strange to me. It seems to me that the cmd_push test is as appropriate as a per_branch test as the other one. [07:54] Well, nearly. [07:55] it is nearly [07:56] the problem is the tension between the cmd_push code, and the code it calls [07:56] Having coverage for new formats is a very good point. That probably does make a per_branch test worthwhile. [07:58] hi, i've just installed bzr. and every command i enter in the console outputs a warning "bzr-svn is not up to date with installed bzr version 1.7rc1. There should be a newer version of bzr-svn available." what do i do [07:58] imyojimbo: have you installed a daily snapshot or something ? [07:59] no [07:59] the latest build for Windows [07:59] ah [08:00] markh: ^ [08:00] lifeless: btw, I see no difference in behaviour in pushing unreconstructable tags with bzr.dev vs. faster-empty-push [08:00] spiv: I know, I was saying that the tags support <-> repository layering etc needs an overhaul [08:00] and it will change the shape of the tuning you are doing [08:02] I'm not sure what you're telling me. Are you saying that my change is incorrect, or just that it's likely that someone else will touch this code at sometime soon? [08:02] uhm [08:02] I think the current code is faulty [08:02] and that your change may make it more faulty [08:03] Ah. As far as I can tell it's bug-for-bug compatible :) [08:03] further, that we may need to probe for revisions routinely when we fix the tag behaviour, to correct previous misbehaviour. [08:04] the tag stuff doesn't need to block us. Oh, but I have a small metacomment [08:04] ?? [08:05] imyojimbo: I don't know anything about the windows builds; markh is the dev making them, he can answer your question [08:06] spiv: the metacomment is that 'no-op push' is not the common case. The common case is arguably 'changed tip with tags in branch', so changes that only help special cases but are less clear/useful for plugins etc are not auto-approve from me [08:06] ok, thanks [08:07] spiv: w.r.t. tags, I'd like to this change not assume that no-tags implies no-change-to-remote-tags [08:07] spiv: so either delegate to a helper method subclasses can replace, or something along those lines [08:10] Pushing 0 revisions is not *the* common case, but it's not an uncommon one either. A push of a branch with no tags is also fairly common I think (certainly all my bzr work falls in that category atm). [08:11] I definitely wouldn't assume that anything is an auto-approve from you unless it's crystal clear that's improvement in every respect :) [08:12] spiv: sure, I'm not saying 'do not optimise' I'm saying 'for the common case I give clarity/extensibility a lower weighting' [08:12] Ah, I see. Sure. [08:13] In short: I'm glad you reviewed this :) [08:15] ops. i did install the release candidate 1. and not the stable version 1.6.1 should i just unistall and reinstall the stable version? [08:15] *1.7 [08:16] imyojimbo: yes, installing 1.6.1 again would probably fix the error [08:17] should i uninstall the current version, or just overide it with the new install [08:24] hi. I need to revert the last commit done on a branch, what's the proper way to do that? with "revert" or "merge"? [08:24] lifeless: http://rafb.net/p/1Edrnu30.html <-- change to allow subclasses to vary when tags are pushed by _basic_push [08:25] mdke: 'bzr uncommit' usually [08:26] spiv: that worked. Wow that's simple :) [08:26] mdke: if you don't want to permanently remove that commit from the branch's history, then 'bzr revert -r 2 && bzr commit' [08:27] :) [08:27] (Oops, "bzr revert -r -2" is what I meant in that example, not that you care...) [08:27] spiv: if I'm working on a bound branch, does "bzr uncommit" fix the serverside branch too? [08:28] Yes. [08:28] supercool [08:28] thanks very much [08:28] You can check for yourself with 'bzr log -r -1 URL' :) [08:28] ok [08:28] spiv: that looks ok to me [08:28] and the last question. [08:28] lifeless: thanks [08:29] users doing "bzr update" from the server branch will automatically get the uncommit too? === vk5foss is now known as kgoetz [08:30] mdke: yep [08:30] (it'll "update" to whatever the current revision is) [08:31] great [08:31] thanks again [08:49] ok, I'm out :) [09:28] hello...if i do a bzr merge ../bundle.patch the original author is not preserved.. pull did not work, it told me to merge...merge applies cleanly (using cherry-pick). How can i preserve the original author? i'm using bzr 1.6.1 [09:28] is it possible at all? [09:40] akuehntopf: it should be preserved [09:41] akuehntopf: (as commits underneath your merge commit) [09:42] unfortunately not, does it have something to do with "merge" doing cherry-pick? [09:43] because i couldn't use pull [09:43] you commited, and 'bzr log' didn't show the commits indented below the merge? [09:45] it showed them, but using my id as the commited [09:45] committer [09:45] i'm sure i did something wrong, i'm not that familliar with bzr yet [09:45] so my steps were as follows: [09:46] bzr branch main feature [09:46] cd feature [09:46] bzr merge ../bundle.patch [09:46] bzr commit [09:46] cd ../main [09:46] bzr merge ../feature [09:46] that's how merge works [09:46] it creates a new commit, with your user id [09:46] ok [09:46] and pull? [09:46] would pull have preserved it? [09:50] akuehntopf: install bzr-gtk and then try the visualize command with `bzr viz`. You'll get a much better idea of what's going on. [09:52] oh hi AfC , long time no see ;-) [09:52] i guess i'll try it using a simple demo repository [09:52] pull would have just prepended them to the current revisions, yes [09:53] alright [10:02] spiv, are you still around perchance? [10:43] jelmer: do you have ideas why bzr-svn does not save passwords it's asking for? [10:47] are location now implemented for anything other launchpad. the only thing i could find was a brain dump from 2005. otherwise what is the current status? [10:47] sorry for the missing words in these sentences :( [10:51] jrb_, what kind of location? === siretart_ is now known as siretart [11:41] * gour is wondering how people auto-generate changelog with bzr [11:47] gour: there's a gnulog plugin to output a GNU-style changelog [11:47] james_w: ohh, thanks [11:54] has anyone else had trouble with the 1.6.1 installer? [11:54] for Mac OS X [12:14] Snaury[away]: It doesn't do any password caching because that's up to bzr and svn [12:15] Hmm. But somehow it doesn't. :-/ [12:15] jelmer^^ [12:40] Just a quick check: if I want to use a smart server over http, I'd have to something like this... right? [12:40] bzr revno bzr+http://jakob@www.astro.rug.nl/~jakobb/bzr_repos/repos1 [12:42] grutte_pier: new-ish bzr probes for the smart server by default [12:43] mwhudson: allright.... but that doesn't make any difference for the traceback I get :P Just to make sure that I'm not filing a bug whilst using the wrong syntax :P [12:43] heh [12:44] poolie: the common prefix (or at least the server) of the branches on my own server [13:08] poolie: bzr checkout mine://foo [13:34] jelmer: is the performance issue we recently discussed fixed in bzr-svn 0.4.12? at least bzr-svn 0.4.11 had the problem [13:35] uws, yes, that's fixed in 0.4.12 [13:35] jelmer: Ok, thanks. upgrading [13:36] 0.5 will be even more significantly faster [13:37] latest in a series of daft questions... .bzrignore, should it be added to source control? [13:39] jelmer: how? [13:39] VSpike: if you use 'bzr ignore' instead of touching .bzrignore itself it will add it to version control it self [13:39] VSpike: Yes. [13:39] VSpike: if you made it yourself, then yes [13:39] uws, fewer roundtrips and cache database queries [13:41] jelmer: and what is the ETA for 0.5? :) [13:41] thx [13:41] LarstiQ, "when I find the time" :-P [13:42] jelmer: ok, so what are the blockers? :P [13:42] basically, more tests - in particular tests for upgrading between different versions of the mappings [13:42] jelmer, uws: btw, 4 oktober there is a Python community day at the NLLGG national gettogether in Utrecht [13:42] LarstiQ, ah, thanks [13:43] (and 27 november a PUN meeting in Rotterdam) [13:43] which, coincidentally, I still need speakers for ;) [13:43] hmm [13:44] what sort of timeslots do the PUNs have, ~30 min? [13:45] jelmer: 30 minutes and 5 minutes lightning talks [13:45] PUN? [13:45] uws: Python Usersgroup Nederland [13:46] uws: http://wiki.python.org/moin/PUN/ [13:46] I'd never heard of these... what kind of topics are usually covered during PUNs? [13:48] grutte_pier: anything goes [13:48] grutte_pier: http://wiki.python.org/moin/BvB28Aug has some of last time [13:48] grutte_pier: also, http://vanrees.org/weblog/archive/2008/09/12/python-calculated-coin [13:48] LarstiQ, I'd be interested in giving a talk if the meeting doesn't conflict with anything else in my agenda [13:49] jelmer: cool [13:49] grutte_pier: personally I'd like to get non-web topics, since that's a bit overrepresented imo [14:58] gah! [14:59] jelmer: ever run into svn repos that require authentication for reading parts of the repository? === mzungu_ is now known as mzungu [15:16] LarstiQ, yep [15:18] jelmer: but you need access to the entire path to determine ancestry, right? [15:18] LarstiQ, yep, at least in 0.4 [15:18] jelmer: anything I can do right now? Other than bug the admin. [15:19] LarstiQ, not really [15:21] ok === kiko-zzz is now known as kiko [16:13] any hints about merging to google code? (to allow svn-pushing there) [16:14] I get "URL is permanently redirected to None" [16:14] then "bzr: ERROR: exceptions.TypeError: expected string or buffer" :( [16:15] ajaksu: could you pastebin the command you're trying with all the output? [16:21] LarstiQ: http://paste.pocoo.org/show/85422/ :) [16:22] Anyone using OpenKomodo [16:22] (cause I think I may try it) [16:24] ajaksu: ok [16:24] ajaksu, any chance you can try the latest revision from bzr-svn's 0.4 branch? [16:24] that should give a clearer error [16:24] I got this error with bzr-svn ImportError: cannot import name client [16:25] any clue ? [16:25] visik7: is this 0.4.11 or newer? In that case, did you build it? [16:26] jelmer: sure, let me get it :) [16:28] jelmer: http://people.samba.org/bzr/jelmer/bzr-svn/0.4, right? [16:28] LarstiQ: newer and yes [16:28] ajaksu, yep [16:29] jelmer, before you wrote your own svn bindings, what python library were you using? [16:30] LarstiQ: I've opened a bug https://bugs.launchpad.net/bzr-svn/+bug/270950 [16:30] Launchpad bug 270950 in bzr-svn "ImportError: cannot import name client " [Undecided,New] [16:31] rockstar, python-subversion (provided with subversion itself) [16:31] visik7: Please try running "import client" in a python interpreter [16:31] * awilkins testifies that the hand-crafted ones are much better than the standard issue [16:31] visik7, while in ~/.bazaar/plugins/svn [16:32] it works [16:32] no import exceptions [16:32] jelmer: have you looked at the new python-subversion bindings? [16:32] jelmer: ie the ones that didn't get included in svn 1.5 [16:33] visik7, what about "from bzrlib.plugins.svn import client" ? [16:33] LarstiQ, I helped write those :-) [16:33] LarstiQ, Or do you mean others than the SWIG-based ones? [16:34] jelmer: ImportError: No module named bzrlib.plugins.svn [16:35] visik7, and after "from bzrlib.plugin import load_plugins; load_plugins()" ? [16:35] jelmer: anywhere or in a specific path ? [16:35] visik7, anywhere [16:36] no module, but wait I've no bzrlib system wide installed, (but some versions ago it worked smoothly) [16:37] jelmer: other than the SWIG-based ones, afaik [16:37] jelmer: a Dutch hg dev told me their current svn effort is going smoothly based on those newer bindings [16:37] jelmer: python -c "from bzrlib.plugin import load_plugins; load_plugins()" [16:37] No handlers could be found for logger "bzr" === kiko is now known as kiko-phone [16:38] LarstiQ, there's nothing upstream yet [16:38] LarstiQ, perhaps in a separate branch [16:39] jelmer: hmmm [16:41] any clue jelmer ? [16:42] visik7, what version of bzr-svn? [16:42] jelmer: trunk [16:44] visik7, no, sorry [16:44] nevermind I'll wait === menesis1 is now known as menesis === kiko-phone is now known as kiko-afk [17:03] jelmer: http://paste.pocoo.org/show/85427/ [17:04] ajaksu, please file a bug about that [17:04] ajaksu, you should be able to use svn+https://ajaksu:sa6fQ8MY2cP8@ccoverage.googlecode.com/svn/trunk/ for now as workaround [17:04] ajaksu: could you try without pycurl? [17:04] damn it, i didn't erase my temp pass :D [17:05] jelmer: would https+urllib:// get to svn as well? [17:05] LarstiQ, nope, that will try just urllib, nothing else [17:05] I think [17:05] ok [17:06] jelmer: the rewind thing is something some people ran into yesterday too, without svn too [17:06] though [17:06] bug 241689 or so? [17:06] Launchpad bug 241689 in awn "awm blocks mouseaccess to windows/trays beside and directly above it" [Undecided,New] https://launchpad.net/bugs/241689 [17:06] hmm no :) [17:06] * LarstiQ goes home [17:12] how do I explicit a base in a merge command? [17:20] ajaksu, bzr merge -rBASE..OTHER [17:24] jelmer: wrong question, then... I'm trying to push my bzr branch to svn and it says 'branches have no common ancestor and no merge base revision was specified', but with your suggestions it tries to merge 2 svn revisions instead :/ [17:25] ajaksu, the location you're pushing to can't exist in svn yet if the two branches have no common ancestry [17:26] should I 'svn commit' a copy of bzr rev 1 there? [17:26] ajaksu, no, you need to remove the branch you'd like to push to before running "bzr svn-push" [17:29] added a subdir to /trunk and it seems to be thinking... IT WORKS! Thank you, thank you very much jelmer! :) [17:30] sweet, great, thanks! :) [17:46] hi... i am reading bzr manual, and i just have to say im really enjoying it. bzr is a great tool. [17:47] great jon guys [17:47] *job [17:52] imyojimbo, thanks! [19:09] Hello! Is this the right place to ask about bzr-svn? [19:09] jfroy|work: sure [19:10] I was just wondering if there was a way to improve or cache http authentication credentials to avoid having to type a password a large number of times. I'm on Mac OS X, and so I would have expected the system keychain to be used. [19:10] jfroy|work: there are other places you could try depending on what you're looking for (say, bugreports), but bzr-svn is on topic here :) [19:11] jfroy|work: I believe that is more of a core bzr issue [19:11] I had a look around, and it seems to be a svn python binding issue, since bzr-svn seems to be importing a binary module of svn authentication methods. [19:12] ah, what version of bzr-svn are you using? [19:12] 0.4.12 on bzr 1.6.1 [19:12] Using the system's interpreter [19:12] jfroy|work: hmm, I was under the impression that version didn't use the python-subversion bindings [19:13] jfroy|work: to be clear we're speaking about the same thing, does it ask you for credentials a great number of times _per operation_? [19:13] Say, doing a bzr branch and having to enter it once per revision. [19:14] a checkout or commit asks me for my credentials 3 times [19:14] jfroy|work: or do you mean you'd like to cache it across invocations of bzr? [19:14] jelmer: still around? [19:14] Correct, across invocations. That is, I'd like it to never ask me for credentials. [19:14] jfroy|work: ok, that's not a bzr-svn specific issue then. [19:15] jfroy|work: I believe vila has done some work on that, but I don't think it was with the OS X keychain, although he does use OS X. [19:15] Subversion has stored them in my account's keychain, and uses that information when invoked directly. [19:15] jfroy|work: right, I see. [19:15] jfroy|work: so if bzr had support for Keychain, you'd be happy? [19:16] The weird thing is line 156 of the auth module in the bzr-svn plugin: [19:16] if getattr(ra, 'get_keychain_simple_provider', None): [19:16] providers.append(ra.get_keychain_simple_provider()) [19:16] Seems to be it should be working, but isn't [19:16] It would definitely be useful for deploying bzr around some more :) [19:16] jfroy|work: agreed :) [19:17] Sharing repositories with bzr is usually done through SSH, so SSH keypairs work fine, but svn is quite often shared over http[s] [19:17] * LarstiQ nods [19:17] jfroy|work: I don't know the bzr-svn code in that detail, and jelmer doesn't seem to be around [19:17] I'm just not clear on who provides credentials to bzr-svn: bzr or the svn libraries (invoked by bzr-svn). [19:18] I'll troll around until he shows up :p [19:18] jfroy|work: afaik, unless maybe you're interacting with an svn checkout, it would be bzr. [19:18] heh :) [19:19] jfroy|work: you could also aks a question on https://answers.edge.launchpad.net/bzr-svn, or file a bug, depending on the level of certainty you have about things supposed to be working and not doing so. [19:19] I'll probably take the time to dig into this next weekend. It itches :p [19:19] jfroy|work: for bzr and Keychain, I'm not sure what the right approach is there nowadays [19:19] jfroy|work: cool :) [19:20] Ah, well for that, a plugin might do the trick, if plugins can pipe into the authentication mechanism. I honestly don't think there's a need for it. [19:20] ssh-agent on OS X stores key credentials in the keychain already :p [19:20] jfroy|work: plugins can do almost anything [19:20] jfroy|work: fair enough :) [19:21] and http is only ever used for read-only public branches, as far as I know [19:21] At least in my experience [19:22] well, I wouldn't mind having more of that infrastructure for dealing with svn branches as well [19:22] jfroy|work: heh, https://bugs.edge.launchpad.net/bzr/+bug/260919 [19:22] Launchpad bug 260919 in bzr "Ability to register new auth providers" [Wishlist,Confirmed] [19:23] Such a cute bot :) [19:23] vila: could others help you with .netrc? [19:25] jfroy|work: I'm going off to have some dinner === ajaksu is now known as ajaksu_away === bac is now known as bac_afk === kiko-afk is now known as kiko [20:29] LarstiQ: sure, patches welcome :D [20:30] I always saw .netrc as a first simple step before addressing gnome-keyring or OS X key chain [20:38] hi [20:39] what is the state of subtrees support in bazaar? [20:39] bpierre, LarstiQ is the last person to work on it [20:39] we may trick him into working on it again [20:39] but he's getting smarter [20:39] :P [20:40] Quick shared repository question: [20:40] beuno: subtrees need a specific repository format, right? [20:40] Is there any drawback to putting a shared repository at the toplevel of multiple (possibly many) unrelated branches? [20:41] bpierre, I don't recall the implementation details. I'm not sure they do [20:41] abadger1999, maybe performance, but I think it's not too bad === bac_afk is now known as bac [20:41] help formats lists development-subtree and 1.6.1-rich-root [20:42] huh, look at that [20:42] you could wait for LarstiQ to finish his dinner [20:42] beuno: Thanks! I'm writing a plugin for a project that checks out source for many different projects to submit translations. [20:42] or send a mail to the list [20:42] the docs on the site are not really up to date, but I got the impression that rich-root was a prerequisite for subtrees... [20:43] Just trying to decide if shared repo @ toplevel or shared repo @ project level makes more sense. [20:43] ah, I see [20:43] I'd go for a per-project [20:43] where they're more likely to share revisions [20:46] [20:46] Thanks again! [20:46] welcome' [20:48] bpierre: yes [20:48] vila: anything in specific? [20:49] LarstiQ: ok, so is it somewhat working? can I switch to 1.6.1-rich-root to do some tests? [20:51] bpierre: if you want you can try out https://code.launchpad.net/~larstiq/bzr/nested-trees [20:51] bpierre: I haven't touched it in a while, but the basics should work [20:51] bpierre: how interested are you in this? [20:52] bpierre: I wouldn't mind some people reporting results :) [20:52] well, I'm evaluating bazaar and subversion for work [20:52] as our new VCS [20:52] ok [20:52] we use clearcase now [20:53] with UCM [20:53] * LarstiQ has no clearcase experience [20:53] and there are 2 uses cases [20:53] well, clearcase has support for components [20:54] bpierre: go on :) [20:55] ok, so you can have different part of the tree, like a component for the driver [20:55] one for the applications/ui [20:55] one for the engine [20:56] and then, what you can do when you create a new project, is seed it with components from different projects [20:56] so you take the drivers for one platform, the apps for another product [20:56] ok. Do further commits then get fed back to the originating project? === mw is now known as mw|food [20:57] yes, or just keep doing your own thing, with the ability to rebase to get changes from upstream [20:57] that's one use case [20:57] the other I'm concerned, is vendor branches [21:02] LarstiQ: still here? [21:04] hello [21:05] i'm a clueless and very frustrated something [21:05] imagine i have a directory x/ with x/.bzr/branch/branch.conf with bound_location = something and bound = True [21:05] but there are no files or directories in x/ other than .bzr/ [21:05] bpierre: yes, real life intervened for a moment [21:05] how do i get bzr to put all the files back that are managed by bzr? [21:06] something like a cvs up or hg up or svn up [21:06] timeless: bzr co [21:06] timeless: there is a bzr up, but your situation sounds like bzr co [21:06] [timeless@konigsberg bugzilla]$ bzr checkout [21:06] bzr: ERROR: File exists: u'/data/mxr-data/bugzillamozilla-bzr/bugzilla/.bzr': [Errno 17] File exists: '/data/mxr-data/bugzillamozilla-bzr/bugzilla/.bzr' [21:06] next? [21:07] timeless: what does "bzr status" give? [21:07] (yes, i already tried both bzr co and bzr checkout, and a couple of others) [21:07] and what --version? [21:07] Bazaar (bzr) 1.6.1 [21:07] status gives me lots of stuff [21:07] bpierre: how do you use components with vendor branches? [21:07] it says that all the files are removed [21:08] and that there are Text and Contents conflicts for most of the files [21:08] and there are "pending merges" [21:08] and i have a headache [21:08] bpierre: the classic cvs vendor branches you'd just do with branches in bzr. [21:08] ? [21:08] timeless: bzr revert perhaps? [21:08] timeless: bzr revert [21:08] thanks [21:09] bpierre: ah hmm, you meant a usecase for bzr nested trees? [21:09] maybe I'm not using the right terminology: you have a thirparty provided driver, libraries and/or sources and header [21:09] bpierre: right [21:09] you want to be able to integrate it in the tree [21:09] so... my goal is to have a box which makes 0 changes to the contents which it gets from an 'upstream' [21:09] aah, ok [21:09] fix, change some things [21:09] and still track the original vendor versions [21:09] all i want to do is update periodically and have exactly what would be tip on the upstream bzr [21:10] bpierre: yeah, the fixing or changing some things aren't special, your wanting to integrate it in the tree is where subtrees could come in. [21:10] to do a tree way merge when you get a new version [21:10] yeah [21:10] i'm using bzr update to do that [21:10] should that work? [21:10] I guess once you can do that, you can mimic clearcase components [21:10] timeless: yes [21:11] larstiq: ok. so it clearly didn't :) [21:11] timeless: although in that case a checkout doesn't give you any benefits over a normal branch [21:11] larstiq: i want something simple [21:11] "set it and forget it" [21:11] timeless: 'bzr get upstream; bzr pull; bzr pull; etc' [21:12] except, once thing clearcase does, is when you make a baseline, which is like a tag, you both get a global tag, for the whole project, and one for each component [21:12] timeless: as long as you make no changes to the tree, that will do it just fine. If you do make changes, you might need to throw in a `bzr revert` from time to time. [21:13] which then can be used by another project to update/merge only some components to/with your version [21:13] I have a workflow related question, which comes out of my use of git (am giving bzr a try) [21:14] I tend to use git for (among other things) creating local branches to organize my work in chunks that can be applied as single commits to the trunk/mainline. This is a common enough pattern. [21:14] bpierre: that's basically tagging each component with the same tag in one go? [21:14] gar1t: right [21:14] I'm scratching my head though with bzr. It looks like bzr wants to create new directories for every branch. I need/want to keep everything in a single working directory. [21:15] So, the workflow would look like this... [21:15] gar1t, why don't you keep your working directory and repo directory separate? [21:15] gar1t, that way your repo gets new subdirectories as you start new branches, but the working tree just switches between them. [21:15] gar1t: branches live in their own directories, but you can switch your working tree between them with `bzr switch` [21:16] the repo is a shared repo on a server [21:16] LarstiQ: yeah [21:16] gar1t: and if you use a shared repository without trees `bzr init-repo --no-trees`, the branches won't have working trees themselves. [21:16] I want to create "throw away" branches locally and use them for merges. [21:17] I created the shared repo (on the server) with the --no-trees option. [21:17] gar1t: but you don't have a shared repo locally, yet? [21:17] hmmm...not sure [21:17] I create a repo locally using bzr branch URL [21:18] did I miss a local init-repo along the way? [21:18] gar1t: `bzr branch/get` primarily creates a branch, not a repository [21:18] gar1t, if you want more than one local branch at a time, it's probably not a bad idea to have a local repo to keep them in. [21:19] ok, thanks. i've switched to pull... i'll be back when that breaks :) [21:19] so init-repo first and then branch into that? [21:19] gar1t, ...presuming that just having multiple separately-checked-out working trees doesn't work for you. [21:19] gar1t: yup [21:19] gar1t, *nod*; that way you get the storage efficiency of shared repos. [21:20] yeah -- I'm trying to make branches as incredibly cheap as possible -- creating new directories doesn't really work for this workflow [21:20] use case: regression found, need to figure when introduced [21:21] $ bzr revno; bzr revert -r -10; bzr revno # revno always returns same revision... is there a better practice ? [21:21] gar1t: see 5.5.3 at http://doc.bazaar-vcs.org/latest/en/user-guide/index.html#reusing-a-checkout [21:22] gar1t: ok, you really want a --no-trees for that init-repo then :) [21:22] strk: bzr bisect, see http://bazaar-vcs.org/BzrPlugins [21:22] LarstiQ: yeah, looked at that for some time today :) [21:23] LarstiQ: sound interesting, but that page points to no code [21:23] http://bzr.licquia.org/bzr-bisect/ <--- empty dir [21:23] gar1t: so a fundamental difference between git and bzr is that in bzr branches are directly addressable (by url) [21:23] strk: bzr branch http://bzr.licquia.org/bzr-bisect/ :) [21:23] ah [21:24] strk: I don't know if that is the most recent version, I haven't followed it, but I've used it in the past [21:24] bzr branch http://bzr.licquia.org/bzr-bisect/trunk [21:24] LarstiQ: use the --no-trees on the local repo as well? [21:24] gar1t: yup [21:24] gar1t: that does mean that you'll have seperate directories for each branch, but you don't have to have a working tree for each [21:25] no readme.. [21:25] how to install ? [21:25] strk: it should be installed as a plugin [21:25] there's meta.py, setup.py and tests.py [21:25] strk: so, have it end up as ~/.bazaar/plugins/bisect/ [21:25] and __init__.py [21:25] strk: then, you have `bzr help bisect` [21:25] ah, the whole dir ? [21:25] strk: yes [21:26] thanks [21:26] gar1t: the documentation mentions 'bzr switch path/to/branch', but iirc 'bzr switch ' where foo is a sibling of the current branch you're bound to also works [21:26] gar1t: so that would become 'bzr switch X-1.0' instead of 'bzr switch ../X-1.0' [21:27] mmm, on the subject on bisect, you can't really change the revision of you working tree right? like go back? I used bisect and I was under the impression it was doing the equivalent of `revert -r rev` [21:27] so if you do a status, you seed the diff between rev and the head of the branch, right? [21:28] bpierre: Yes. And revert's a straight blat, it won't do any change merging like an update -r should. [21:29] is there a way to know what revno you end up with after a revert ? (or bisect, which I guess uses revert underneat) [21:30] ok [21:30] that's something I kinda liked with monotone [21:30] strk: revert changes the filecontents to the revision you specified. [21:31] strk: bisect has a bit more of documentation [21:31] strk: you set a begin and start revision, and then it does a binary bisect between those [21:31] strk: and depending on your answers, it chooses which branch to continue in [21:31] bisect rocks, even when it discovers that I caused the bug ;-) [21:31] Odd_Bloke: what happened to your bisect changes? [21:32] LarstiQ: I expect they're on LP. === BasicPRO is now known as BasicOSX [21:32] bpierre: Well, as bug 45719 says, it's something to kinda like about... well, everything but bzr :p [21:32] Launchpad bug 45719 in bzr "update command cannot take a revision number" [Medium,In progress] https://launchpad.net/bugs/45719 [21:32] I think it got awkward enough to polish them off that I kind of tailed off. [21:32] ok [21:32] Odd_Bloke: aaah :) [21:32] * LarstiQ badges Odd_Bloke to pick it up again [21:33] * fullermd pets ubottu. [21:33] bpierre: config-manager is an older solution to the nested-trees problem [21:34] what does it do? [21:34] I'm not sure I understand how bisect works. I know head has the bug (revno 9760) and I manually tested revno 9600 doesn't have the bug [21:34] how do I proceed ? [21:34] again, not a lot of documentation! [21:35] (9760) bzr bisect start [21:35] bzr bisect no -r 9600 ? [21:35] bpierre: maintain configs for checking out multiple trees [21:35] ok [21:36] bpierre: for the nested-trees branch on launchpad, it's basically: 'bzr branch other/branch subtree; bzr add subtree; bzr ci' [21:37] ok, so you can commit transparently across trees? [21:37] bpierre: that's the idea, yes [21:37] what happen if another project include a derived tree? can you cherry pick? [21:37] bpierre: there are still some buggy corner cases if you `bzr mv` across subtree boundaries [21:37] can you push only a subtree? [21:38] bpierre: yes [21:38] ok [21:38] bpierre: if you do a commit in the containing tree, it will recurse into subtrees, do it's stuff there, and then record the subtree state in the containing tree [21:39] bpierre: so the contained ones can still be worked upon by themselves [21:39] unless my brain is very rusty [21:39] so, I can have a repository r1 with a branch, say my main vendor branch, include it in my tree (and repository) push only the subtree to another branch in r1 for other project to cherry pick/merge? [21:39] bpierre: so, this code is rather old, I _think_ the basics work, but you might run into some rough patches. Would you be willing to try it out and work with me getting it fixed up? [21:40] sure, I was in the process of setting up a small test project [21:40] bpierre: I think we might have different terminology on cherry picking [21:40] :P [21:40] merge only a particular revision? [21:40] bpierre: if you mean, can I get just the changes in the subtree in my other project, then yes [21:41] not a full blown merge [21:41] bpierre: subtrees are their own seperate branches [21:41] ok [21:41] and tags are dupplicated too? [21:41] bpierre: so there are no non-subtree revisions in the subtree you'd want to not-merge [21:41] bpierre: now tags is a good question [21:42] bpierre: I'd assume so, but I'd have to check [21:42] ok [21:43] I'm in France, going to go to bed, but if you want me to do some tests tomorrow evening, I'm available [21:43] bpierre: cool, I'm in The Netherlands [21:44] bpierre: I'll be busy training most of the evening probably, but we'll see [21:44] bpierre: my client is always here, and I respond to backlog [21:44] same goes if someone want to check a possible fix for https://bugs.launchpad.net/bugs/269456 :D [21:44] Launchpad bug 269456 in bzr "checkout operation consume too much resources" [High,Triaged] [21:44] hehe [21:45] ok, won't be at home this week-end, but other than that, happy to do some testing on the week-end [21:45] bpierre: sweet [21:45] LarstiQ: after some navel staring, I think I understand [21:45] bpierre: that also gives me a bit more time to get back into the code ;) [21:46] ok [21:46] bye [21:48] * LarstiQ looks up what navel staring means [21:48] LarstiQ: when pushing back to the central server -- is it better (for whatever reason) to push from the local repo, or can I push from the local working branch? [21:48] gar1t: ah :) [21:48] LarstiQ: lol, not sure if wikipedia covers that one ;) [21:49] * LarstiQ found an article under 'wisegeek.com' fwiw [21:50] gar1t: I don't use that workflow myself, but afaik if you have your push location set in your branch, doing a push from your working tree will use that location and do the right thing [21:50] that's a very good explanation [21:50] it certainly would be the behaviour I expect. [21:53] LarstiQ: seems to work fine either way [21:53] thanks for the explanation -- that cleared up some things for me [21:53] gar1t: glad to be of help [22:10] https://code.launchpad.net/~daniel-thewatkins/bzr-bisect/automated is my bisect work. [22:10] Testing and bug reports would be appreciated. [22:16] ok [22:16] * LarstiQ adds it to his todo list for tomorrow [22:18] is it possible to run a shell script as a post_commit hook for a bzr branch? [22:20] dir [22:20] sry - wrong window :( === thumper_laptop is now known as thumper [22:24] johan: yes, via jelmers shell-script-hooks plugin, or via a python plugin that looks for a shell script and runs it [22:25] lifeless: okay, so no upstream support atm. Is that planned for the future? [22:25] johan: for some value of planned [22:25] lifeless: it would make sense, since not all users of bzr knows how to program python [22:26] we had a long debate; I'm happy with us supporting them as long as their presence does not reduce the clarity of interface of the python hooks [22:26] or try to make things equal, when obviously shell scripts are going to be slower and more limited because they can't access already present objects [22:27] johan: well, not all users of bzr know how to program shell either [22:27] johan: for instance, on windows, vbscript is probably a better common language [22:28] anyhow, as I say: there is [at least] one plugin that enables this, I don't think it needs to be in core to be considered available [22:30] johan: is there a particular reason you want this? === mw|food is now known as mw [22:34] hi, say, what kind off diff tool do you use? [22:42] imyojimbo, I use diff myself [22:43] imyojimbo: I don't use an external tool [22:43] imyojimbo: some folk like meld [22:43] imyojimbo: some folk on windows use commercial tools, I don't remember the name, but bzr can be configured to call out to them [23:02] garh I hate wiki advertising [23:02] http://nouveau.freedesktop.org/wiki/OProfile [23:02] note the reason it turns up on google under 'oprofile python' [23:03] lifeless, adblock plus :) [23:03] * Verterok wonders if he found a bug or a feature [23:03] Kittens: how would that help ? [23:04] lifeless, get rid of the wiki ads [23:04] :p [23:04] Kittens: I'm going to guess you are assuming a bunch of things by what I meant and haven't looked at the wiki page in question at all. [23:04] while committing a merge, if all touched files are specified to commit it's rejected [23:04] fine fine if i must click [23:04] Kittens: if you *are* assuming, please don't :> [23:04] it's that behaviour ok? [23:05] lifeless, i assume a lot :p [23:05] sorry [23:05] Verterok: committed a merge, no parameters should be passed [23:05] it's one of my "features" [23:05] Verterok: sorry, I mean, 'committing' and 'no sub paths' [23:05] Kittens: np [23:06] lifeless, but does it make sense to reject a commit if all changed files in the merge are being specified? [23:06] lifeless: thanks, but if I pass all the "changed/touched" files as prameters? [23:06] hiya poolie [23:06] hello beuno [23:06] hello jam [23:06] Verterok: beuno: its a performance question. Can we tell there are no other altered or merged files without making commit slower by doing so. [23:07] currently, the answer is 'no'. I'm not sure that in theory it can be made 'yes'. [23:07] so it's a performance tradeoff? === Pieter_ is now known as Pieter [23:07] lifeless: thanks for the explanation [23:08] anyhow, I think the real bug is that we haven't implemented the necessary graph sophistication to support cherrypicks in all their beauty - partial graph references including references to partial merges [23:08] * Verterok starts fixing bzr-eclipse commit when a merge is pending :( [23:08] in a philosophical sense, 'all modified from the merge' could be a set larger than that shown by 'diff' or 'status' due to per file graph joining [23:09] * beuno blinks [23:09] * Verterok too [23:09] aha [23:09] so while I can agree in principle 'if all the changed files are specified', I don't think eclipse would actually be listing 'all the changed files', and once we do proper cherrypick merge support, I'm quite positive it wouldn't do what you want it too [23:11] lifeless: the particular problem I'm having in bzr-eclipse, is that when the commit dialog is opened, it shows all the modified files (in a table with checkbox) [23:11] by default, bzr-eclipse use the selected files in the commit command [23:13] so, I need to check if there is a pending merge, and don't allow the user to select/unselect the files, and also avoid using the file list in the commit [23:15] Verterok: yes, I think that makes sense [23:15] it's just that I missed this restriction while committing a merge [23:16] Verterok: and/also I suggest that if everything is selected, you don't pass in a file list anyhow, its simpler [23:16] lifeless: sure, that makes sense :) [23:17] looking further [23:18] I think it would be nice to allow commits to be edited after-creation before completion. [handwaving] build the full commit and inventory and have an object listing all the items changed, with a method to exclude an item. So call that, it removes it from the commit and puts it back to the parent (not doable in merge commits for now) [23:19] you could receive this object over the xmlrpc service [23:19] and edit it in the window live [23:19] then when you supply the commit message, the final inventory is written, the revision added and its done === andreas__ is now known as ahasenack [23:22] Verterok: ^ [23:23] * Verterok blinks [23:25] lifeless: I need think about this a bit :) [23:25] (actually understand it :p ) [23:27] Verterok: sure :P [23:40] lifeless: that's a nice idea. [23:41] lifeless: currently the xmlrpc service don't allow this kind of interaction between client-server [23:41] but it's a nice feature to add :) [23:43] mwhudson, amanica has a few questions with your name written all over them [23:44] "integrating loggerhead into gforge" [23:44] "...and why paths suck" [23:47] beuno: oh? [23:47] amanica: i'm here now [23:48] hi [23:48] I'm writing a plugin to gforge which uses loggerhead to browse the branches [23:49] but at one place I can obtain the path to a file which includes the branch, repo or other dirs [23:49] so I have two ideas: [23:49] 1) in stead of http://127.0.0.1:8080/bzr.repo/bzr.dev/annotate/head:/tools/biobench.py -> http://127.0.0.1:8080/bzr.repo/bzr.dev/tools/biobench.py [23:49] 2) in stead of http://127.0.0.1:8080/bzr.repo/bzr.dev/annotate/head:/tools/biobench.py -> http://127.0.0.1:8080?annotate=/bzr.repo/bzr.dev/tools/biobench.py [23:50] i.e. in gforge I dont know how to split the path into a branch part and a reletive to branch part [23:50] amanica: you don't want to have the head: in there? [23:51] I dont mind the head part so long as it is not in the middle of the url [23:51] right [23:51] i don't know a good answer to this, really [23:52] I dont mind hacking on this, but I dont want to go into my own little fork [23:52] in some ways, i'd be fine with http://127.0.0.1:8080/bzr.repo/bzr.dev/tools/biobench.py being the annotate view [23:52] but then how do you get to the changes view? [23:52] you could do [23:52] in some ways, i'd be fine with http://127.0.0.1:8080/bzr.repo/bzr.dev/+changes [23:52] or http://127.0.0.1:8080/bzr.repo/bzr.dev?changes [23:52] and then hope noone calls a file '+changes' .... [23:53] i think using query args for this is kinda gross [23:53] but it would work, i guess [23:53] gross, why? [23:53] well, i guess because it's a fundamentally different resource [23:54] * Odd_Bloke thinks /+changes is nicer that ?changes. [23:54] or maybe just a different view to the same resource [23:55] I think using query args will be a lot cleaner [23:55] the thing is, in bazaar the branches are the most important thing [23:55] then the revisions [23:55] then the content of the revisions [23:55] (at least imho) [23:56] and we dont have to worry about accedental conflicts [23:58] as I said, 2) may be an acceptable workaround with the least impact (I think) [23:59] it still offends my sense of style, i'm afraid [23:59] I still think it will be cool to go staight to http://127.0.0.1:8080/bzr.repo/bzr.dev/tools/biobench.py and the file contents pop up