[issue3240] revset aliases cannot refer to other aliases
Simon King
bugs at mercurial.selenic.com
Thu Feb 2 17:26:49 UTC 2012
New submission from Simon King <simon at simonking.org.uk>:
The documentation for revset aliases implies that they can refer to other
aliases:
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())
revsetalias.sincebaseline=baseline::
$ ./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
(issue3230)
$ ./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>
<http://mercurial.selenic.com/bts/issue3240>
____________________________________________________
More information about the Mercurial-devel
mailing list