Re: Octopus merge: unique (?) to git, but is it useful?

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

Re: Octopus merge: unique (?) to git, but is it useful?

From: Matthieu Moy <hidden>
Date: 2016-06-15 22:44:40

Jakub Narebski [off-list ref] writes:
I think that octopus merge (merge with more than two parents/legs) is 
feature which is unique to git (isn't it?).  
bzr can do similar things:

bzr merge some-branch
bzr merge --force some-other-branch
bzr commit

Since bzr doesn't auto-commit after a merge, the above commands
actually creates only one revision with 3 parents (the --force is here
to let merge do it's job with uncommited changes in the tree).

-- 
Matthieu

Re: Octopus merge: unique (?) to git, but is it useful?

From: Jakub Narebski <hidden>
Date: 2016-06-15 22:44:40

On Tue, 3 June 2008, Matthieu Moy wrote:
Jakub Narebski [off-list ref] writes:
quoted
I think that octopus merge (merge with more than two parents/legs) is 
feature which is unique to git (isn't it?).  
bzr can do similar things:

bzr merge some-branch
bzr merge --force some-other-branch
bzr commit

Since bzr doesn't auto-commit after a merge, the above commands
actually creates only one revision with 3 parents (the --force is here
to let merge do it's job with uncommited changes in the tree).
But does it store octopus merge as octopus: commit with more than
two parents?  In git making octopus merge is easy, perhaps too easy...


True, the above actually could be inferred from mentioned blog post
  http://vcscompare.blogspot.com/2008/05/meet-candidates.html
namely that there were problems with converting git repositories
containing octopus merges to Mercurial (and there was a bug in 
git-fast-export which made bzr-fast-import crash on them).

-- 
Jakub Narebski
Poland
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help