[issue3240] revset aliases cannot refer to other aliases

Simon King bugs at mercurial.selenic.com
Thu Feb 2 11:26:49 CST 2012

New submission from Simon King <simon at simonking.org.uk>:

The documentation for revset aliases implies that they can refer to other 

    New predicates (known as "aliases") can be defined, using
    any combination of existing predicates or other aliases

...but this doesn't appear to work in 2.1 (0620421044a2):

$ ./hg showconfig revsetalias
revsetalias.baseline=last(ancestors(.) and tagged())

$ ./hg log -r baseline
changeset:   16051:2aa5b51f310f
branch:      stable
tag:         2.1
user:        Matt Mackall <mpm at selenic.com>
date:        Wed Feb 01 14:17:26 2012 -0600
summary:     phases: don't complain if cset is already public on pushkey 

$ ./hg log -r sincebaseline
abort: unknown revision 'baseline'!

messages: 18921
nosy: simonk
priority: bug
status: unread
title: revset aliases cannot refer to other aliases
topic: revset

Mercurial issue tracker <bugs at mercurial.selenic.com>

More information about the Mercurial-devel mailing list