/srv/irclogs.ubuntu.com/2017/05/04/#bzr.txt

ao2Hi, I come from a git background and I am trying to find the equivalent of the "git format-patch" and "git am" commands, to share multiple commits (along with author, date, and full commit messages) via email.13:32
LeoNerdI believe what you want is a bundle13:32
LeoNerd$ bzr help bundle13:33
ao2I see I can use "bzr send -o my.patch" to create a merge directinve which contains a bundle with the info I want to communicate, as confirmed by "bzr bundle-info -v my.patch"13:33
ao2LeoNerd, I do not understand how I can merge such info from a bundle into a distict repository, "bzr merge" + "bzr commit" results in all changes from the different revisions in the bundle squashed together, and with no commit messages13:34
ao2I meant "bzr merge my.patch"13:35
LeoNerdAh; the merge is one commit, but it does retain the distinct identity of the individual changes within that13:35
ao2so there's no way to rebuild the history of the individual revisions from a bundle?13:36
LeoNerdDefine "rebuild"?13:36
LeoNerdDo you want them all visible as separate *mainline* commits?13:37
LeoNerdUsually a merge appears as one commit with multiple sub-commits inside it13:37
ao2I am with Bazaar (bzr) 2.8.0dev1 BTW.13:38
ao2rather than rebuild I meant "preserve" the way I added the commits on the local branch13:39
LeoNerdSo each one is individual at toplevel?13:40
ao2yes, and there is also the issue of keeping the commit message[s] from the bundle13:41
LeoNerdShould be doable.. I would imagine some variant of 'bzr replay' can do it13:41
LeoNerdThough offhand not a thing I've fiddled with before13:41
ao2LeoNerd, let me read about that, thanks for the hint13:42
LeoNerd(replay is useful for pulling commits around places)13:42
ao2"bzr help replay" fails here, is it an extensions?13:43
LeoNerdOh.. hmm.. maybe13:43
LeoNerdPersonally, I basically never use the email bundle things... those rare times I need to send or receive commits, it's far easier to just have some http-visible repository somewhere13:46
ao2LeoNerd, it'd be handy for a one-off contribution, and it is a familiar workflow for git people.13:50
LeoNerdOhright; I'm sure people do it, I'm just saying *I* don't so I'm not sure how helpful I can be in describing it13:51
ao2LeoNerd, np :)13:54
ao2and thanks13:54
fullermdI'm not sure peopole do it, they just merge.13:59

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