[Bug 5670] New: Shortcut cmd to histedit tip

mercurial-bugs at mercurial-scm.org mercurial-bugs at mercurial-scm.org
Mon Aug 28 17:15:59 UTC 2017


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

            Bug ID: 5670
           Summary: Shortcut cmd to histedit tip
           Product: Mercurial
           Version: 4.3
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: feature
          Priority: wish
         Component: histedit
          Assignee: bugzilla at mercurial-scm.org
          Reporter: dinumarina at gmail.com
                CC: mercurial-devel at mercurial-scm.org

We use very often the histedit to just edit the tip revision. There is no
un-cumbersome way to do this:

hg histedit -r tip
type "edit", save

We tried using --commands with a file containing "edit tip", but it seems it
doesn't parse revision names, so we need to make a special tool just to run
histedit for tip. It would be nice if the cmdline for histedit would allow for
a shorthand to edit a single revision

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


More information about the Mercurial-devel mailing list