[07:04] morning [07:04] do you consider that brz-git is beta now? [09:22] Hi gour [09:23] I'm not sure, what does that mean? [09:52] jelmer: well is it ready to recommend it (as beta) to some users forcing to use git and would be more pleased witz brz [10:06] gour: I'm not sure; the software is stable, but things are still changing a lot and you need to keep your brz/brz-git/dulwich synced or things may not work because of API incompatibilities [10:19] jelmer: ok, i'll wait a bit and using it personally before further recommendation [11:21] gour: it should be okay to use, but there will be annoying API incompatibilities issues until breezy hits 3.0 beta [11:37] jelmer: ok, i got it ;) [12:53] Hrm... Migrating some commits of a project from bzr to git. Options? I see `bzr fast-export | git fast-import` but that appears to be for entire history [12:54] I made my bzr branch as a snapshot of current master out of git, made some commits, and now I want to apply those same changes into git [12:55] So my next thought was: checkout from git, cd into it, and use `bzr replay ../path/to/bzr/version` to replay individual commits. That gets upset too: bzr: ERROR: Push is not yet supported for bzr-git. Try dpush instead. [12:55] I don't want it to push. Just to apply [13:07] * LeoNerd decides to write a script to do it commit by commit [13:09] LeoNerd: hi [13:09] Hello [13:10] LeoNerd: probably the thing that comes closest is to use bzr to generate git-am style patches and apply those with 'git apply' [13:10] Yes. But I couldn't work out how to do that [13:11] if you have bzr-git installed, I believe it's "bzr send --format=git -o dir -r-10" [13:12] Ah,.. there's a --format option [13:12] bzr: ERROR: No submit branch known or specified [13:14] you can probably just specify the local branch if you specify a range [13:14] Hrm... it mkdired 'dir' but that's now empty [13:15] $ bzr send --format=git -r 2.. -o dir ../Net-Async-SOCKS+bzr1/ [13:15] bzr: ERROR: exceptions.TypeError: from_trees_options() takes exactly 10 arguments (9 given) [13:16] Well that's fun too :) [13:27] Ooooh this is so close. bzr log -p outputs a metadata header + patch. I can almost pipe that into git apply except for the fact that git expects file paths to begin with a/ and b/ [13:27] It doesn't look like there's arguments to bzr log -p to prepend those, nor git apply to not expect them [13:31] Oh humm... it seems my entire endevour might be for naught :/ turns out what I thought was a clean snapshot of master, wasn't. :/ so I have some spurious other differences to fix up first [13:32] hm, the diff arg to set prefixes is amusingly also -p [13:32] Yes... So I can get it from bzr diff -pa/:b/ [13:33] I'll just run two commands, a bzr log without -p to get the metadata, plus bzr diff to get the patch [13:36] Almost makes one wonder if tailor still works :) [13:49] fullermd_: i believe it does not, based on the chat with its author some time (months) ago [14:24] Wouldn't be surprised. It was always a neat but finicky hack. [14:25] Not sure I ever succeeded in using it to really do anything nontrivial, even when it was active. === gour_ is now known as gour