[Bug 5056] New: Improve error message when histedit is run on changesets with child nodes

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Thu Jan 21 18:01:13 UTC 2016


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

            Bug ID: 5056
           Summary: Improve error message when histedit is run on
                    changesets with child nodes
           Product: Mercurial
           Version: 3.5.2
          Hardware: PC
                OS: Linux
            Status: UNCONFIRMED
          Severity: feature
          Priority: wish
         Component: histedit
          Assignee: bugzilla at selenic.com
          Reporter: visionofarun at gmail.com
                CC: mercurial-devel at selenic.com

The error message shown when histedit'ing a changeset with child nodes is

"abort: cannot edit history that would orphan nodes"

This message could be improved to something more intuitive, like

"histedit can be run only on leaf nodes"
"can only run histedit while current revision has no children"

I frequently use histedit and I tried to run histedit on non-leaf nodes by
mistake and I was confused by "abort: cannot edit history that would orphan
nodes". Googling didn't help much as well.

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


More information about the Mercurial-devel mailing list