bzr rebase: Change behaviour to be as if --always-rebase-merges specified, remove outright the current default mode

Jelmer Vernooij jelmer at samba.org
Tue Nov 24 11:10:58 GMT 2009


On Sun, 2009-11-22 at 15:59 +0000, Max Bowsher wrote: 
> bzr rebase currently has two modes selected by presence or absence of
> --always-rebase-merges.
> 
> With --always-rebase-merges: Does a "normal" rebase, as a user of Git or
> Mercurial rebase would expect.
> 
> Without --always-rebase-merges: Totally throws away revisions with
> multiple parents.

> The second mode is, IMO, semantically incorrect in any circumstances. I
> would like to remove it outright.
-1

The intention of rebasing without --always-rebase-merges is to skip
rebases of merges for which the right hand side parent is already in the
ancestry.

If you have a history where you have merged from upstream and are later
rebasing on mainline this allows you to automatically throw away the
merges of mainline.

Cheers,

Jelmer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20091124/966e5912/attachment.pgp 


More information about the bazaar mailing list