[PATCH RFC] rebase: allow for rebasing descendants onto ancestors on different named branches

Stefano Tortarolo stefano.tortarolo at gmail.com
Thu Mar 24 15:45:45 CDT 2011


2011/3/23 Wagner Bruna <wagner.bruna+mercurial at gmail.com>

> On 03/22/2011 09:25 PM, Stefano Tortarolo wrote:
> > # HG changeset patch
> > # User Stefano Tortarolo <stefano.tortarolo at gmail.com>
> > # Date 1300839283 -3600
> > # Node ID 5a9593fb89915c2c5a89f7abca72d0c3ed3ed23c
> > # Parent  48d606d7192b6f8f4fc8071fccdc5a83843ab2d3
> > rebase: allow for rebasing descendants onto ancestors on different named
> branches
>
> Wouldn't this be useful for anonymous branches too, since the development
> could be using separate clones / bookmarks instead of named branches? It
> could
> also be handy when adapting a patch queue to an earlier revision.
>
> Regards,
> Wagner
>


Uhm... could you please elaborate more which situations you are describing?
I can think of:

a - b - c
 \ /
  d

in which someone could be interested in having:

a - b
 \ /
  d - c'

However, I'd like to see how it goes with the first patch and, if nothing
strange (e.g., corner cases I did not consider)
happens, we might relax this constraint a little more.

Cheers,
Stefano
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20110324/367c540c/attachment.htm>


More information about the Mercurial-devel mailing list