[PATCH] rebase: do not add second parent to rebased changeset (drop detach option) (BC)

Pierre-Yves David pierre-yves.david at logilab.fr
Wed Jun 20 10:27:43 CDT 2012


On Tue, Jun 19, 2012 at 05:08:50PM +0200, Pierre-Yves David wrote:
> On Thu, Jun 07, 2012 at 01:58:22PM +0200, pierre-yves.david at logilab.fr wrote:
> > # HG changeset patch
> > # User Pierre-Yves David <pierre-yves.david at ens-lyon.org>
> > # Date 1339069890 -7200
> > # Node ID 146a5994a0dbe3f6dd5dcb05bacfdff6f92a8c97
> > # Parent  2255950e1f7663a9faa6b57040cc5c0debe7d4dd
> > rebase: do not add second parent to rebased changeset (drop detach option) (BC)
> > 
> > Rebase now always keeps the number of parents constant. merge are rebased as
> > merge and non-merge are rebased with single parent. This mean that hg rebase
> > always "detach" the rebase set from it's original branch if the root changeset
> > only have a single parent.
> > 
> > This only alter the behavior of rebase when using the --source option. The
> > detach option itself is dropped.
> > 
> > See in comment in code for details on the Why and How of the new behavior.
> > 
> > All test changes have been manually validated with care.
> 
> Gentle ping of this patch which will prevent further user confusion. Lastest
> confusion: http://bz.selenic.com/show_bug.cgi?id=3504

A minor update for this patch is available here:

    http://hg-lab.logilab.org/wip/hg/rev/a71426b6a3a1

This include some typo feedback from Augie and Patrick reworking of the
documentation.

I'm not resending it to the list to limit current review bloat.

Let me know if you want a resent.

-- 
Pierre-Yves David

http://www.logilab.fr/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20120620/ede7eb17/attachment.pgp>


More information about the Mercurial-devel mailing list