[Bug 5694] New: "hg evolve" does nothing on unstable parent, even though "hg evolve -r . " rebases it

mercurial-bugs at mercurial-scm.org mercurial-bugs at mercurial-scm.org
Sun Oct 1 12:57:54 UTC 2017


https://bz.mercurial-scm.org/show_bug.cgi?id=5694

            Bug ID: 5694
           Summary: "hg evolve" does nothing on unstable parent, even
                    though "hg evolve -r . " rebases it
           Product: Mercurial
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: feature
          Priority: wish
         Component: evolution
          Assignee: bugzilla at mercurial-scm.org
          Reporter: foozy at lares.dti.ne.jp
                CC: mercurial-devel at mercurial-scm.org,
                    pierre-yves.david at ens-lyon.org

In the history below:

 2 @
   |
   |
 1 x  o 1'
   | /
   |/
   o 0

"hg evolve" without any option does nothing for "orphan" working
parent "2", even though "hg evolve -r ." rebases it onto "1'".

Relation between combination of options for "hg evolve" and result:

==== ==== ==== =====================================
all  rev  any  result
==== ==== ==== =====================================
x    x    x    NG
x    x    o    OK
x    o    x    OK
x    o    o    *
o    x    x    NG (if topic is not used)
o    x    o    OK
o    o    x    *
o    o    o    *
==== ==== ==== =====================================

(*) do-not-care: invalid combiation

In "NG" cases, _aspiringchildren() for "hg evolve" and
_aspiringdescendant() for "hg evolve --all" return empty list, and
"hg evolve" misrecognizes that there is no one to be evolved.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list