/srv/irclogs.ubuntu.com/2015/10/28/#bzr.txt

nilujehey, any help would be appreciated.. how is merge working with bzr?09:38
nilujemy coworker, ed, has a branch. He wants to merge my work on it. bzr merge <my branch> doesn't merge the commits but only the changes09:38
nilujeis it possible to merge the commits and their messages?09:39
nilujeor does he have to merge & commit for each of my commit?09:40
fullermdmerge _does_ merge the commits.09:41
nilujefullermd: http://pastie.org/1051311709:44
fullermdThus the pending merge tip  :)09:46
jelmerniluje: "bzr merge" just stages the merge; you need to run "bzr commit" to commit it.09:46
nilujeoh09:46
nilujeyeah09:47
nilujebut if I run "bzr commit -m 'whatever'"09:47
jelmerniluje: "bzr merge" just stages the merge; you need to run "bzr commit" to commit it.09:47
nilujethere only one commit with "whatever" as message09:47
fullermdMerged revs are hidden away by default.  Use -n0 to expand them out.09:48
nilujeon which command should I use -n0?09:48
fullermdlog09:48
nilujeoh, indeed09:48
nilujeis there a great GUI tool on osx?09:49
nilujethanks a lot :) as a git user, I'm a bit confused with bzr :p09:49
niluje-n0 answers my questions09:49
fullermdHow well/deeply do you know git?09:51
nilujewell :p09:53
fullermd'k.  So in gittish terms, 'bzr log' by default only follows the first parents.  Revs with more parents do get marked [merge], but you need -n[something] to expand those branches.09:54
nilujeyep09:54
nilujeso there no equivalent to fast forward merges, right?09:54
fullermdThe operative theory is...   well, OK, the _proximate_ operative theory behind the change that made that happen, is that it's faster/not as painfully slow to do that.09:55
fullermdBut the _other_ operative theory is that generally, you don't care about the details of something merged.  Merges tend to be stuff like "merge trunk [into this feature branch I'm still working on, to keep caught up]", or "land feature X [into trunk]".  In either case, most of the time, just the fact of what happened is all you really care about.09:56
fullermdIt's only when you need to look at some detail along the way that you care about the individual revs inside it, so collapsing them away makes it easier to look at the history and find the bits you _do_ care about.09:56
fullermd'bzr pull' does fast forwards [only].09:57
fullermdThere's also a 'merge --pull' that does fast forwards if it can.09:57
fullermdIt's a bit confusing using it IMO, though, since that means that sometimes it'll FF and you don't have to commit anything, but sometimes it can't and so you do have to commit the merge.09:58
nilujeok09:58
nilujewhat about rebasing?09:58
nilujeif I'm on my feature branch and I want to rebase on the master branch, should I merge?09:58
fullermdThere's a 'rewrite' plugin that does [some subset of] that.  I'm not sure how well it works.09:59
fullermdIn bzr world, people generally just merge stuff.09:59
nilujeok :)09:59
nilujethanks a lot for the explainations fullermd10:00
nilujewhat about a GUI on OSX? do you know a good one?10:00
fullermdI don't think there's an integrated one.  I imagine the bits of qbzr work there, which gives GUI's for certain commands.10:01
fullermdThere is/what a bzr-gtk too, that was similar.10:01
nilujelet's stick with cli then :p10:02
fullermd(is/was; at one point it fell into near-total disrepair, I don't recall if it was resurrected or not)10:02
nilujekk, thanks!10:02
* fullermd pulls vila's plug a few more times, just for kicks.10:17
vilafullermd: hehe, try again, I switched from desktop to laptop for an upgrade ;)10:19
fullermdUpgrade?  You mean you switched out that "Lunix" thing for a _real_ OS?   ;>10:20
vilahehe, real ? What's real and what's virtual... Do I still know...10:22
fullermdReal is stuff you can eat.  Virtual is just little bytes.10:22
vilaha right, I should stop that diet then ;)10:23

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