/srv/irclogs.ubuntu.com/2008/08/31/#bzr.txt

jelmerStrange00:00
jelmerthat's the latest revision I pushed00:00
Peng_If I try to pull the trunk branch, I get a KeyError on another revision from today.00:01
Peng_I can pull lp:bzr-svn.00:01
jelmerbranching here locally works fine00:01
Peng_"bzr log -r -1 http://people.samba.org/bzr/jelmer/bzr-svn/0.4/" works fine.00:02
Peng_I get the same KeyError on a copy of the branch on another computer.00:04
Peng_FWIW, my branches are in pack-0.92-subtree, not rich-root-pack.00:05
jelmerPeng_, please file a bug against bzr00:05
jelmerno idea what's causing this00:05
* jelmer runs bzr check in his 0.4 directory00:06
Peng_jelmer: OK, I'll do that00:09
Peng_Check passes on my repo, aside from 22 inconsistent parents.00:12
jelmerworks fine here, no inconsistent parents either00:13
Peng_I just reconciled. No more inconsistent parents, but it didn't help the KeyError.00:17
Peng_jelmer: Did you run check on http://people.samba.org/bzr/jelmer/bzr-svn/ or your local copy?00:24
jelmerPeng_, locally00:25
Peng_jelmer: Can you try it remotely, just to be sure?00:28
jelmer980 inconsistent parents, but ok other than that00:29
jelmerok, reconciled00:31
jelmerPeng_, can you try again?00:31
Peng_Sure00:32
Peng_Still failed00:32
Peng_Mmm, the packing reconcile did made it much faster. :)00:32
Peng_jelmer: bug 263137 filed00:34
ubottuLaunchpad bug 263137 in bzr "KeyError pulling bzr-svn's branches" [Undecided,New] https://launchpad.net/bugs/26313700:34
jelmerPeng_: hmm, reconcile on the server crashes00:47
=== mark1 is now known as markh
ToyKeeperFWIW, I was able to 'bzr branch http://people.samba.org/bzr/jelmer/bzr-svn/' just a moment ago with bzr r1682, and then 'pull' inside the new branch.00:49
ToyKeeperEr, r3668, I mean.  1682 was the revno for bzr-svn.  :)00:50
ToyKeeperGeez, I pasted the wrong URL, too.  Add '0.4/' to that.00:51
Peng_Hmm, branching into my shared repo failed, but branching into /tmp succeeded.00:55
Peng_(Sorry for wasting some of your bandwidth, jelmer.)00:55
ToyKeeperI get a KeyError if I use a pack-0.92-subtree shared repo.00:56
ToyKeeper... and it takes about 72s instead of 20s, most of which is spent with the cpu pegged.00:56
Peng_Heheheh, using a really fast Internet connection is fun.00:56
Peng_ToyKeeper: I can confirm it.00:57
Peng_ToyKeeper: Mind if I update the bug?00:57
Peng_I just tried to confirm it with a tiny test branch, and everything worked fine.01:01
ToyKeeperPeng_: Yeah, sorry, I was away.  Since you haven't marked it as confirmed, I may as well.  :)02:16
cr3I seem to have done a checkout rather than a branch, so when I commit it goes directly to the repository instead of making a local commit requiring a later push.03:58
cr3how can I change my current directory so that I can do local commits and later push?03:58
cr3can I just remove the bound* variables from my .bzr/branch/branch.conf file?03:59
cr3nevermind, that seems to have worked04:02
Peng_cr3: "bzr unbind"04:02
LaserJockany bzr-svn people around?06:54
LaserJockI keep getting bzr: ERROR: exceptions.NameError: global name 'revnum' is not defined06:55
markhLaserJock: do you have the latest version?07:04
LaserJockof the 0.4 branch yes07:05
LaserJockI couldn't find any tarballs07:05
markhwhat file and line number is the exception on?07:05
markhrevision 1670 of that branch was the recent release - its possible the trunk has an error07:06
markhs/trunk/tip/07:06
LaserJock  File "/home/mantha/.bazaar/plugins/svn/workingtree.py", line 595, in pull07:08
markhlooks like a typo in working tree07:09
markhthat line should say 'revnumber' it seems07:09
markhpersonally I'd go back to r1670 though07:10
LaserJockhow do I do that?07:10
markhhrmph - that seems to have the same problem though07:10
markhI'm really not sure why that hasn't been seen before - you could try editing that file, or wait for Jelmer to pop up.07:13
LaserJockhmm, I'm getting another error07:17
LaserJockbzr: ERROR: bzrlib.plugins.svn.core.SubversionException: ("Unable to lock '/data/projects/avogadro/openbabel/cmake'", 155005)07:18
LaserJockhmm, maybe I'm doing this wrong. some branches that I've been using bzr-svn on previously seem to work07:19
rockyhm, i'm in a mode where several of us are committing changes to our branches on a frequent basis and we have an integration server that we need to update with the changes several times a day ... what should the workflow like that look like ?12:43
=== fta_ is now known as fta
gourrocky: have you seen http://doc.bazaar-vcs.org/bzr.dev/en/user-guide/index.html#id5813:14
rockygour: i've read through that guide a couple times now ;)13:14
gourrocky: what do you think about that workflow with gatekeeper?13:18
rockygour: well, that's basicaly what i'm doing now... i guess i could try the automated gatekeeper approach13:19
gourrocky: yeah. sounds good for your reqs. i, however, do not have experience with pqm13:20
rockyneither do i13:20
rockyand it's a relatively small project... seems like adding pqm is overkill13:20
gourright. human gatekeeper is enough then13:20
gourdo you use LP?13:20
rockyno13:21
gourso, distributed workflow with human integrator sounds good for you13:21
rockyyeah13:25
ftatoo bad it's not possible to re-upload a deleted package with a different src tarball in ppa :(14:40
ftaas the tarball is gone from the pool, it should be possible..14:40
rockyhrm... if i want to distribute a patch (but not via email) what's the most sensible way to get all info involved? i would have thought "bzr send" but it needs an email addr14:43
ftaoops; wrong channel, it was meant for #lp14:44
svenhi! i got this crash when running bzr log -r <revid>: http://pastebin.com/d6ff1c6a114:45
svenis this a known problem, and do you need the tree in order to debug it?14:45
jonnydeehi, can anyone help me out with a merge problem? I would like to merge with anther branch, but I want to decide myself how to resolve (automatically resolvable) conflicts. Bazaar tells me that it has merged all changes successfully, but I do not want to take everything which is in the other branch...14:45
luksrocky: bzr send -o filename14:46
rockyyeah just figured that out ... it's not obvious in the docs though that that option stops the email from occurring14:47
svenjonnydee, if you mean that you don't want to take all changesets in the other branch, use 'bzr merge -r <latest revision you want to take from the other branch>14:47
rockythese bundles produced by "bzr send" don't record the commit msgs tho right?14:48
luksof course they do14:48
luksthey are like normal branches, you can merge/pull from them14:48
jonnydeeno, it's not dependent on the change sets. I would like to merge in only part of the changes of the last changset existing in the other branch14:48
rockyluks: oh, is that contained within the "bundle" portion of the file?  the bottom part that is base64-encoded?14:49
luksrocky: yes14:49
jonnydeesven: I wish I could tell bazaar to let me merge in the changes using kdiff3 instead of leaving it to bazaar to merge in the changes automatically14:50
luksthe "patch" part is actually not used for anything important by bzr14:50
luksall is in the bundle part14:50
svenjonnydee, sorry, i don't know how to do that...14:50
jonnydeesven: no problem, thanks anyway :)14:51
jonnydeemaybe anyone else has an answer?14:52
luksjonnydee: http://erik.bagfors.nu/bzr-plugins/extmerge/14:52
luksoh, actually I'm not sure if that does what you want14:52
luksit seems to be only for resolving conflicts14:52
jonnydeeI've just installed this plugin. Unfortunately, it only allows to resolve conflicts that cannot be resolved automatically by bazaar14:53
jonnydeeluks: exactly14:53
jonnydeeactually, what would be needed is to switch off bazaar's automatic conflict resolving strategy and to mark all differences as conflicts14:54
tumbleweedanyone familiar with loggerhead?14:55
luksjonnydee: hm, telling it to mark everything as conflicts shouldn't be hard14:56
tumbleweedI'm using an auto_publish_folder, and getting lots of "Exception: name 'url' is not defined"14:56
jonnydeebazaar tries to be as intelligent as possible in resolving conflicts (which it does indeed very good) but it should also allow to be as dumb as possible14:56
SnauryHello, is there a separate channel for bzr-svn?14:56
jonnydeeluks: how can I do that?14:56
jelmerSnaury, Hi14:56
jelmerSnaury, nope, this channel is for bzr-svn as well14:56
luksjonnydee: not from the command line, but using a plugin maybe. wait a minute14:57
SnauryI wonder if anybody else has noticed a dramatic speed drop in bzr-svn 0.4.11: bzr 1.5 + bzr-svn 0.4.10 +django trunk = roughly 1 second per revision, bzr 1.6 + bzr-svn 0.4.11 + django trunk = roughly 10-20 seconds per revision. :(14:58
jonnydeeluks: ok :)14:58
jelmerSnaury: 0.4.11 should actually be significantly faster14:58
jelmerSnaury, any chance you can run with -Dtransport to see what sort of requests it's making?14:59
Snauryjelmer: I know it should, but in fact it is actually dramatically slower14:59
Snauryjelmer: where should I use -Dtransport? bzr update -Dtransport does not show anything. :-/ And I'm on Windows, btw.15:01
jelmerSnaury, it will write to .bzr.log15:01
luksjonnydee: nope, too complicated for me :)15:02
jonnydeewow, you tried to write a plugin :) well, thanks a lot, anyway!!! Shall I maybe submit a bug regarding this issue?15:03
rockyjelmer: i just checked out an svn trunk using bzr-svn, then i branched the co, then i tried pushing the branch back as a new branch in svn and it committed the changes i made to the svn trunk instead :(15:05
jelmerrocky: Please file a bug15:06
* rocky wonders if he's just trying to use bzr in a very unusual way which is why he keeps having problems15:06
jelmerpreferably with some way to reproduce this easily15:06
jelmerrocky, what version of bzr-svn are you running?15:07
rockyjelmer: 0.4.11 final15:07
Snauryjelmer: http://kitsu.ru/bzr-1.6-django.log15:08
SnauryThat's two revisions. :)15:08
jelmerrocky, I can't reproduce it here, there must be more in play there15:10
jelmerSnaury, thanks15:12
Snauryjelmer: and here what it looks like on 1.5: http://kitsu.ru/bzr-1.5-django.log15:13
Snauryjelmer: when I added15:19
Snauryjelmer: when I added properties.PROP_IGNORE in fetch.py now log looks like this: http://kitsu.ru/bzr-1.6-django2.log15:20
jelmerSnaury, Ah, I think I've seen this before15:20
jelmerrevprop-list is hanging15:21
jelmerI don't remember if it was a server or client-side problem15:21
Snaurysame subversion, same tree, bzr 1.5 and bzr-svn 0.4.10 and everything is pretty fast. :?15:22
jelmeryeah, but bzr-svn 0.4.10 didn't use revprop-list15:22
jelmerfetching from django works fine for me (http://code.djangoproject.com/svn/django/trunk/)15:22
jelmerone revision every couple of seconds15:22
Snauryhmm? look at my bzr-1.5 log. :-/15:22
Snauryit has svn revprop-list -r * lines, every one takes ~2 seconds.15:23
jelmerit's probably doing other things in between those lines as well15:25
jelmerThis was a bug in the subversion libraries, but I don't recall the details :-(15:25
jelmerDid you build bzr-svn 0.4.10 yourself?15:26
jelmerSnaury, any chance you can try the latest revision from bzr-svn's 0.4 branch? Ive added more debug statements15:27
Snauryjelmer, sure, just a little later, I made some more mutter calls myself...15:30
Snauryjelmer: and it's definitely not revrop-list, I've added (done) mutter call in finally and it returns after just one second. it is hanging somewhere else.15:30
jelmerSnaury, revprop-list itself wasn't hanging but was delaying the command that follows it15:31
Snauryjelmer: it's lp:bzr-svn?15:31
jelmerhttp://people.samba.org/bzr/jelmer/bzr-svn/0.415:31
jonnydeeI submitted a bug regarding a "dumb conflict resolution strategy" that marks all differences as conflicts (in essence this means to switch off automatic conflict resolution): https://bugs.launchpad.net/bzr/+bug/26330215:35
ubottuLaunchpad bug 263302 in bzr "No way to switch off Bazaar's automatic conflict resolution" [Undecided,New]15:35
Snauryjelmer: http://kitsu.ru/bzr-1.6-django3.log, as you can see it's not hanging. something is working, just very slowly.15:37
jelmerSnaury, but where is it spending that time?15:38
SnauryI have no clue. :-/15:38
SnauryIs there any 'full-debug' mode, where it prints maximum info in the log?15:38
jelmerSnaury: there's various -D options15:41
jelmer-Dcache also prints a lot of things15:42
jelmeryou may want to try profiling15:42
jelmerjonnydee, Can't you just use the .THIS and .OTHER files?15:50
jonnydeejelmer: but the do not show up when bazaar resolves the conflicts successfully.15:58
jelmerjonnydee, ahh15:58
=== cprov is now known as cprov-lunch
Snauryjelmer: I found that the expensive call that takes so much time is reporter.finish(). looks like while it working it calls lots of callback functions, though I can't figure which ones yet. :-/16:21
Snauryjelmer: but it takes 10 seconds before it starts calling any callbacks. :-/ And it calls too many of the callbacks, http://kitsu.ru/bzr-1.6-django4.log16:35
jelmerSnaury, what do you mean with too many?16:37
uwsjelmer, Snaury: I also experience extremely SLOW and also overly network intensive "bzr pull" from a svn repos16:37
uwsthat's with Webkit SVN16:38
jelmeruws, that's a new regression (with bzr-svn 0.4.11 )?16:38
uwsthe traceback in the log file after "ctrl-c" also shows reporter.finish() almost at the bottom16:38
SnauryWell, I'm not an expert, but what I read in svn include files implies that reporter should only call callbacks (i.e. report) changes to what was specified to it. Judging from the number of calls it looks like it reports the whole tree. :-/16:38
uwsjelmer: dunno when it got this slow. it's haever been fast, but I remember that it only took a few secs for each revision16:39
uwsright now it's running >1min and still at the first rev16:39
uws[=                                                                                                  ] copying revision   1/19516:39
uwslast 2 lines of log file:16:39
uws176.514  lookup parents: 'svn-v3-trunk0:268f45cc-cd09-0410-ab3c-d52691b4dbfc:trunk:35809'16:39
uws176.514  revprop list: 3580916:39
Snaurycould it depend on the tree size?16:40
uwsThis is with -Dtransport -Dcache btw16:40
jelmerSnaury, it should only call for the changed files in the tree16:40
uwstree is huge in the webkit case16:40
jelmeruws, it's hard to judge without the full log16:40
Snauryjelmer, then look at http://kitsu.ru/bzr-1.6-django4.log (very huge!). that revision changed only *one* file.16:40
uwsjelmer: http://pastebin.com/m15a35bde16:41
Snauryjelmer: if it should only report changed files, then something is royally wrong somewhere. Maybe in the way reporter is initialized. :-/16:41
uwsjelmer: (has 2 logs, first is with Ctrl-c, the latter is the currently running bzr)16:41
=== uws is now known as uws_
=== uws_ is now known as uws
jelmerSnaury, uws: any chance you can try again with the last revision of 0.4 ?16:51
jelmer(r1688)16:51
jelmerthat should give more information about what deltas it is trying to retrieve16:52
Snauryjelmer: shows svn update -r8749:875016:54
jelmerhmm, that looks right17:04
jelmerhmm, wait..17:05
jelmerSnaury, what happens if you comment out line 589 to 592 ?17:05
jelmer(in fetch.py)17:05
Snaurybzr: ERROR: LICENSE is already versioned :)17:08
uwsjelmer: WAAAAAAY faster, e.g. 1 rev / 3 secs now17:09
Snauryso much for "any directories or files not explicitly `set' are assumed to be at the baseline revision originally passed into do_update()"17:09
jelmerSnaury, that only doesn't work on Windows for some reason17:12
jelmerSnaury, A windows user contributed that fix, it's not necessary for *nix17:12
Snauryjelmer, which fix?17:13
jelmerSnaury, to explicitly call set_path17:13
jelmerfor more than just the root17:13
jelmeruws, thanks for veryifying that, btw17:13
uwsjelmer: yw.17:14
=== mark1 is now known as markh
rockyis the release notes for bzr 1.6.1rc1 available any place? not on news.html yet it seems17:58
rockynvm, found it17:59
rockylooking to migrate some svn repos to bzr ... anyone know if tailor supports bzr 1.6 or perhaps suggest an alternate preferable tool to tailor?18:14
jelmerrocky: bzr svn-import ?18:16
rockyheh18:16
rockydidn't even realize such a thing existed18:17
jelmerit's part of bzr-svn, just makes it easier to run for a full repository18:17
rockygotcha18:17
rockydoes it require a rich-root repo?18:17
jelmeryeah, it'll still require a rich-root repo18:18
rockyhow come?18:18
jelmersince it generates repositories that are compatible with bzr-svn18:19
jelmerand it seems pointless to have two different code paths that have to be tested, given that rich root will be the default in bzr soon18:19
rockymakes sense18:20
Snauryjelmer: is it possible, for a given InventoryEntry, to find its associated svn revision?18:32
Snauryjelmer: could it be that reporter is behaving like that because revision numbers bzr-svn reports to set_path are bigger than what is actually in the repository?18:38
jelmerSnaury: That could cause it to do strange things18:40
jelmerSnaury, but is that actually the case?18:40
SnauryI don't know, that's what I want to try.18:40
jelmerit should be easy to see if a revnum exists remotely by running "svn log -r<revnum> <url>"18:41
Snauryno, I tried a different thing (passing repo.lookup_revision_id(entry.revision)[1] to reporter.set_path), but it didn't help either.18:48
Snauryjelmer: I'm just out of ideas of what's going on here. :-/ I've been looking at svn_client in how it initializes reporter, and it's basically just that: set_path on every dir/file in the working tree..18:50
jelmerSnaury, I wonder how this is different from bzr-svn 0.4.10 though19:01
jelmerSnaury, did you build subversion yourself for bzr-svn 0.4.10 ?19:01
Snauryjelmer: no, I just downloaded official 1.5.119:01
Snauryjelmer: it's also strange how 0.4.10 managed to work with a single set_path("", ...)... :-/19:02
jelmerSnaury: same here19:03
jelmerSnaury, is start_empty perhaps set to True?19:04
Snauryno, I checked and it's False.19:04
jelmerhmm19:05
jelmerlast resort I guess would be to see what's going on on the wire19:07
jelmerSnaury, ah19:11
Snauryjelmer: what is it?19:12
jelmerSnaury, I thought I'd found something but it turns out to be the same behaviour anyway :-(19:14
Snauryjelmer, I can't help the feeling there is something wrong in the extensions layer. it's very strange how bzr-svn 1.4.10 with pysvn 1.5.1 manages to succeed with a single .set_path for "", and after adding a bunch of mutters I see that it gets a very small delta.19:17
SnauryThere is something very wrong somewhere.19:17
jelmerSnaury, Not sure why it would be wrong in the extensions layer then though19:18
Snaury(and imho writing these extensions was a mistake)19:18
Snauryjelmer: because with bzr-svn 1.4.11 it's as if we are updating from revision 0. :-/ Yet python code looks ok (c code, on the other hand, also looks ok, but maybe I wasn't digging deep enough)19:20
jelmerSnaury, the C code layer is very thin and works fine here on Linux, for example19:20
jelmerSnaury, The python code has changed significantly as well between 0.4.10 and 0.4.1119:21
Snauryjelmer: I'm talking here about two things only: call to reporter.set_path and the methods that get called on the editor inside reporter.finish19:21
Snaurysame calls to set_path / finish give different calls on the editor.19:22
jelmerSnaury, those callbacks are called by Subversion19:22
jelmerSnaury, and are just wrapped by the bindings, there's no logic there19:22
Snauryjelmer: I know. And that's why it's strange. Because same calls should lead to same callbacks. Yet with 1.4.11 we get add_file('LICENSE'), which shouldn't be there.19:23
jelmerSnaury, does this problem occur against other repositories as well?19:26
jelmerSnaury, I can't reproduce it, that makes it very hard for me to fix :-/19:28
Snauryjelmer: I found an interesting bit. 0.4.10 was calling conn.reparent, 0.4.11 no longer does it. Why?19:29
jelmerSnaury, because in 0.4.11 the connection is already at the right URL19:29
Snauryjelmer: are you on Windows?19:31
jelmerSnaury, no, on Linux19:31
Snauryjelmer: I can reproduce it with any subversion tree, when there is a single reporter.set_path for "" only, then it give a whole tree instead of delta.19:33
SnauryYet that's how 0.4.10 was doing things, and it always worked.19:34
jelmerSnaury, Somebody else reported that the multiple set_path calls were necessary before the bindings were introduced19:36
jelmerSorry, that was actually after it was introduced19:38
Snauryjelmer: patched 0.4.10 to call reporter.set_path on all items in the inventory. Not only it still works, it also works fast.19:42
Snauryjelmer: I guess I'll just have to keep using bzr 1.5 until I port bzr-svn back to pysvn. :(19:42
jelmerSnaury, bzr-svn needs features that aren't provided by pysvn19:43
jelmerSnaury, that's one of the reasons for going with the bindings19:43
Snauryjelmer: what are those features?19:44
rexbrondoes anyone have a link to an explaination on how to what are and how to use stacked branches?19:45
jelmerSnaury, https with untrusted certificates, for example19:46
jelmeraccess of svn working copies19:46
jelmerSnaury, with a bit of luck somebody else will figure out what's going wrong on Windows19:47
Snauryjelmer: or could it be something related to svn 1.5? what subversion version are you testing with?19:48
jelmerI'm using 1.5.119:48
Snauryjelmer: unfortunately I couldn't compile bzr-svn against subversion 1.4.5, ld just keeps crashing for some reason. :-/19:48
jelmerSnaury, can you perhaps add a printf in ra.c:124 to check that path and revision arrive correctly?19:49
Snauryjelmer: gcc version?19:50
jelmerSnaury, 4.319:50
Snaurysame here... :-/19:50
jelmerSnaury, 32 bit platform?19:51
Snauryyes19:51
jelmerSnaury, ah19:54
jelmerSnaury, another idea19:54
jelmerSnaury: in stdbool.h, can you change the typedef to "typedef char bool;" ?19:54
jelmerenum will default to int, that may cause strange issues19:54
SnauryGod damn it. %)19:56
SnauryI found out the same thing. :)19:56
Snaurythat bool start_empty turns out to be always true. :-/19:57
jelmerdoes it help to make bool a char?19:57
SnauryYes indeed. That's the API problem. bool and "b" don't mix.19:58
SnauryPerhaps it works on Linux because it was somehow initialized with zeroes?20:00
jelmerstdbool.h from the system should be included on Linux, rather than the one in the local directory20:01
SnauryOuch. enum { false, true } is size 4. x_x20:02
jelmerI've pushed a fix that changes it to char20:02
jelmerplease let me know if it's indeed the problem20:04
jelmerand if changing it to char helps20:04
SnauryYeah, it finally works. ;)20:10
Snaury(I also changed <stdbool.h> to "stdbool.h", because mingw has stdbool.h)20:10
SnauryOuch. But sizeof(bool) in mingw is 1, so how come it was including the one in current directory?! O.o20:12
jelmerI think there is magic in setup.py to do that if you run it on Windows20:13
jelmerSnaury, yep, it automatically adds "." to the current directory if os.name == "nt"20:14
jelmers/current directory/include directories/20:15
jelmerthanks for tracking that bug down though, that was an odd one20:16
SnauryDamn. I wonder if with Visual Studio there would be no problem?..20:16
jelmerSnaury: It's there as well - the guy who did the patch that calls set_path() for every path in the inventory was working on Visual Studio20:17
jelmerI think it's time for a 0.4.12 release :-)20:20
ToyKeeperYay for a bzr-svn release.  :)20:25
rockyjelmer: don't suppose you could show me a list of the commands that you would use to setup a bzr repo that has project Foo with trunk, branches, and tags folders that look like how you would do it in svn? :)20:26
rockypastebin20:26
jelmerrocky, You mean how I would import into bzr from a repository like that?20:27
rockyno... no import20:27
rockysay you're creating a bzr repo from scratch, and you just want to setup a new Foo project and work with it similarly to how you would in svn20:27
rockywith separate trunk/branches folders20:28
Pilkyrocky: bzr init-repo Foo20:28
Pilkycd Foo20:28
jelmerbzr init-repo project; bzr init project/trunk20:28
Pilkyah, that too... :P20:28
rocky;)20:28
Pilkyrocky: just so you know, you shouldn't really need a tags folder20:29
rockywhat if you're hosting multiple subprojects in that repo ...  bzr init-repo base; bzr init Foo; bzr init Foo/trunk; bzr init Bar; bzr init Bar/trunk   ?20:29
jelmerrocky, no, just create a directory "Foo", no bzr init20:29
jelmerbzr svn-import will automatically do this for you as well when you import :-)20:30
rockyof course... but i'm talking about from scratch now ;)20:30
rockyso why no bzr init Foo for the previous example?20:30
Pilkyjelmer: you wouldn't happen to know who's in charge of the OS X installer?20:30
rockyi'm trying to understand the "whys" ;)20:30
Pilkyrocky: because you don't want Foo to be a branch20:30
ToyKeeperrocky: As far as I know, there's not much to be gained by putting multiple projects in the same bzr repo.20:30
Pilkyit's merely a folder20:30
jelmerrocky, bzr init is used for branches20:30
jelmerrocky, there is no concept of a "project" in bzr20:31
jelmerPilky, verterok has something to do with it20:31
rockyinteresting20:31
PilkyVerterok: ping20:31
rockyjelmer: so if i were using trac-bzr to view what i did above as "base" and then just mkdir Foo and Bar ... they would show up in the trac browser?20:32
jelmerrocky, yeah20:32
rockywhich reminds me, how is trac-bzr these days? :)20:33
jelmerthere are a couple of things that need to be updated for 1.620:33
rockyoh :(20:33
jelmerother than that, it's a bit slow but works quite well20:33
VerterokPilky: pong20:34
jelmerwe're using it for BitlBee and ctrlproxy with 1.5 I believe20:34
PilkyVerterok: do you make the OS X installer for bzr?20:34
rockywonder how it would scale ... i'm looking at offering bzr support for ClueMapper (cluemapper.org) so when creating new Trac projects it would automatically create matching bzr repos (right now it creates matching svn repos)20:34
ToyKeeperrocky: You might want to read bzr-trunk/doc/en/user-guide/shared_repository_layouts.txt20:34
rockyToyKeeper: thanks for the pointer20:34
VerterokPilky: yes, only for 10.420:35
* Verterok is working on the 1.6 DMG ATM20:35
Pilkydo you know who does it for 10.5?20:35
VerterokPilky: yes, phanatic build the 10.5 DMG20:36
Pilkyah20:36
VerterokPilky: http://bazaar-vcs.org/MacOSXBundle :)20:36
PilkyI'm just wondering because it seems to take a week or so for the Installers to come out for OS X :P20:37
Pilkywas wondering when the 1.6 installers would come out20:38
VerterokPilky: don't know about phanatic, but I've been quite busy... the past week. I'm trying to get it done for monday20:38
VerterokPilky: also for the moment, building the installer is almost completely manual :(20:40
Pilkyah, not fun20:40
VerterokPilky: not at all :p20:40
rockyToyKeeper: that info is great at showing you the structure of the options, and shows you when to "bzr init-repo" the toplevel repo, but it doesn't describe when you want "mkdir Foo" VS "bzr init Foo"20:41
ToyKeeperIf Foo is a branch, then bzr init Foo.  If it's just a directory, then mkdir Foo.20:42
ToyKeeperLike, I have a dir called 'merged' where I move old merged branches to.  'merged' isn't a branch, but the items inside it are.20:43
ToyKeeperGenerally, you probably won't need to 'bzr init Foo' much, because you'll be running 'bzr branch trunk Foo' instead.20:43
rockyright20:43
rockythat makes sense20:44
rockythat of course does mean the management of branches (ie moving them around, etc) isn't versioned, but i dunno yet if that matters ;)20:44
ToyKeeperThe branch name is recorded for each commit, at least.  So, you can see that a branch started out as 'blah' then became 'fnorg' before it was eventually merged.20:45
Verterokjelmer: do you know which branch of bzr-email should I use? (I'm packaging 1.6 for OS X 10.4)20:50
jelmerVerterok, I would just use trunk20:50
Verterokjelmer: ok, thanks :)20:50
jelmerthat's at least what I package for Debian20:51
Verterokjelmer: trunk 'll be , thanks :)20:52
* Verterok wonders if it's time to make a 0.1 release20:53
Verterokjelmer: bzr-svn 0.4.11 works with 1.6?21:12
jelmerVerterok, yep21:12
Verterokthanks21:12
Verterokjust asking, because I'm getting some errors with bzr.dev21:12
jelmerwith 0.4.11? That's right, bzr.dev broke cloning_metadir()21:14
Verterokyep, exactly that21:14
* ToyKeeper looks forward to new bzr and bzr-svn packages in debian21:44
ToyKeeper... I have a few dozen svn repos on my scm server waiting to be converted, and it looks like it can happen soon.  :)21:44
dmoernerwhat is the equivalent of git reset --hard HEAD? how can i reset the changes represented in bzr diff?21:46
jelmerdmoerner, bzr revert21:46
dmoernerthank you21:46
jelmerToyKeeper, they're already there21:49
ToyKeeperjelmer: I just updated, and debian/unstable has bzr 1.5-1.121:51
jelmerToyKeeper, ah, you need experimental21:51
jelmerunstable is kept clear for things that will make it into lenny21:52
ToyKeeperOh yeah, debian always gets funky around release time.21:52
ToyKeeperThere it is.  I'm running mostly testing, and hadn't added experimental yet.21:53
* ToyKeeper <3 apt pinning21:57
jelmerToyKeeper, strange btw, for some reason I was under the impression you were an Ubuntu developer22:24
ToyKeeperNah, I started but got too distracted to follow through with it.22:25
ToyKeeperMundane 'real life' issues keep popping up, so I've had to limit myself to drive-by bugfixes and small projects.22:27
jelmerToyKeeper:  the various bits and pieces you've contributed to bzr and subprojects are very much appreciated22:32
ToyKeeperOoh, sweet.  bzr-svn picked up tags when I pulled today.22:35
jelmeryeah, it does that now22:37
ToyKeeperIn any case, bzr is a better svn client than svn itself.  :)22:58
jmlhello23:02
james_whey jml23:02
james_whappy monday23:02
jmlurgh23:02
* jml doesn't like Mondays.23:03
jmlactually, that's a lie.23:03
jmlI don't like *mornings*.23:03
james_wjml: do you have any love for me yet?23:06
jmljames_w: no, sorry. stacking's taking all of my loving.23:06
james_wthat's ok, it surely needs some23:06
spivGood morning!23:07
jmlspiv: good morning!23:07
jmlspiv: welcome back.23:07
james_wwe just passed feature freeze, so it makes you look forward to the release.23:07
jmljames_w: yep :)23:07
james_whey spiv, welcome back.23:07
james_wgood holiday?23:07
jmljames_w: I saw mdz's blog post and thought "oh bother, that doesn't really leave much time?"23:07
jmlexcept with a mental '!', rather than a '?'.23:08
jmlbecause I type better in my head.23:08
james_wjml: I got that, but luckily a few days before feature freeze23:08
spivjml: thanks!23:09
spivjames_w: very good, yeah.  NZ seems to be composed almost entirely of scenery designed for postcards.23:09
jmlheh23:10
jmlit's true.23:10
james_w:-)23:10
spiv"Oh look!  *Another* alpine lake surrounded by snow-capped mountains!"23:10
lifelessmoin23:11
lifelesswb spiv23:11
james_whi lifeless23:11
jmlg'day lifeless23:11
jelmerVerterok, ping23:16
Verterokjelmer: pong23:16
jelmerVerterok, does the new mac os x installer include  bzr-svn?23:16
Verterokjelmer: nope (yet)23:16
VerterokI was trying to write a mail about this :)23:17
Verterokjelmer: I can't build the package using setuptools :(23:17
jelmerVerterok, oh, ok - what sort of error do you get?23:20
Verterokjelmer: I get an empty package in dist/23:20
Verterokjelmer: let me try a last thing before bother with this :)23:21
Verterokjelmer: yay! it worked (just need to be root to run the setup.py :p )23:22
Verterokjelmer: I can include bzr-svn in the final 1.6.1 (or the next rc)23:23
jelmerVerterok, oh, ok - odd23:24
Verterokjelmer: just one thing. I'm building it against Collabnet subversion-1.4.623:25
jelmerVerterok, that should work fine23:26
Verterokjelmer: I'll build another package against 1.5. It's ok if I upload both installer to launchpad.net/bzr-svn?23:27
jelmerVerterok, yeah, please do23:28
lifelesspoolie says hi, and his adsl isn't; he hopes it will be in time for the standing and upping23:30
markhjelmer: did you happen to see a conversation here yesterday where someone reported a NameError in bzr-svn?23:49
jelmermarkh: yeah, I committed a fix for that23:49
markhexcellent :)23:49
jelmerlifeless, is there a reason Repository.revision_tree(None) is used rather than Repository.revision_tree(NULL_REVISION) in several places?23:49
Verterokjelmer: I'm going to package both versions of bzr-svn (for 1.4 and 1.5), same DMG or one DMG for each? (1.1MB each pkg)23:56
jelmerVerterok: I'm not really familiar with DMG files23:57
jelmerVerterok, is it possible to choose the installation of just one?23:57
VerterokDMG is a fancy zip :p23:57
Verterokjelmer: there is each pkg is an installer itself, the only issue is that only one can be installed23:58
Verteroks/there is//23:59

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!