[Bug 4311] New: revsetaliases are not usable with histedit

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Mon Jul 21 06:42:40 CDT 2014


http://bz.selenic.com/show_bug.cgi?id=4311

          Priority: normal
            Bug ID: 4311
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: revsetaliases are not usable with histedit
          Severity: bug
    Classification: Unclassified
                OS: Windows
          Reporter: markrian at gmail.com
          Hardware: PC
            Status: UNCONFIRMED
           Version: unspecified
         Component: histedit
           Product: Mercurial

Tested on mercurial 3.0.1 on Windows.

I have the following in ~/.hgrc:

[revsetalias]
next($1) = limit(descendants($1) and not $1, 1)

I get the following error if I try to use that with histedit:

$ hg histedit -r "next(123)"
hg: parse error: not a function: next

The revsetalias does work on other commands, though:

$ hg log -r "next(123)"
changeset:   124:ecd3f137065e
[...]

I'm almost certain this used to work, probably on 2.6 or 2.8.

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


More information about the Mercurial-devel mailing list