[PATCH 1 of 2] revset: add topo.revsonly argument for topo sort

Xidorn Quan me at upsuper.org
Fri Sep 23 18:10:45 EDT 2016


On Sat, Sep 24, 2016, at 08:07 AM, Pierre-Yves David wrote:
> On 09/24/2016 12:01 AM, Xidorn Quan wrote:
> > On Sat, Sep 24, 2016, at 05:47 AM, Pierre-Yves David wrote:
> >> On 09/23/2016 03:26 PM, Xidorn Quan wrote:
> >>> # HG changeset patch
> >>> # User Xidorn Quan <me at upsuper.org>
> >>> # Date 1474636628 -36000
> >>> #      Fri Sep 23 23:17:08 2016 +1000
> >>> # Node ID 9e8aeaddddf3bf6e61b351a738f5cadbbf4815f3
> >>> # Parent  285a8c3e53f2183438f0cdbc238e4ab851d0d110
> >>> revset: add topo.revsonly argument for topo sort
> >>>
> >>> This argument is used when we want an order which is not affected by
> >>> revisions other than given ones. It helps the next patch (rebase in
> >>> topo order) to keep sensible order when multiple separate revisions
> >>> are specified.
> >>
> >> I do not understand why this is necessary. How is the current code
> >> misbehaving in your case?
> >
> > I did this for fixing "Test multiple root handling" in
> > test-rebase-obsolete.t. But rejudging that testcase, it seems to me I
> > probably should not do this, but instead, just update the result of that
> > test with my second patch.
> 
> What is the failure about?

Please see the latest patch I sent to the list.

- Xidorn


More information about the Mercurial-devel mailing list