[PATCH V2] revrange: don't parse revset aliases as hash prefixes (issue4553)

Jordi Gutiérrez Hermoso jordigh at octave.org
Thu Feb 26 11:13:19 CST 2015


On Thu, 2015-02-26 at 23:53 +0900, Yuya Nishihara wrote:
> On Wed, 25 Feb 2015 18:21:59 -0500, Jordi Gutiérrez Hermoso wrote:
> > # HG changeset patch
> > # User Jordi Gutiérrez Hermoso <jordigh at octave.org>
> > # Date 1424905921 18000
> > #      Wed Feb 25 18:12:01 2015 -0500
> > # Node ID 2ad937a821a9467bd3d92959e82682b7ec6e82a5
> > # Parent  f15891e7f658fbc0351589887760548cab2c41f8
> > revrange: don't parse revset aliases as hash prefixes (issue4553)
[snip]
> > +issue4553: check that revset aliases override existing hash prefix
> > +
> > +  $ hg log -qr e --config revsetalias.e="all()"
> > +  0:2785f51eece5
> > +  1:d75937da8da0
> > +  2:5ed5505e9f1c
> > +  3:8528aa5637f2
> > +  4:2326846efdab
> > +  5:904fa392b941
> > +  6:e0cc66ef77e8
> > +  7:013af1973af4
> > +  8:d5d0dcbdc4d9
> > +  9:24286f4ae135
> > +  $ hg log -qr e
> > +  6:e0cc66ef77e8
> 
> I think "hg log -qr e:" needs to be handled as well.

Good catch, preparing V3...




More information about the Mercurial-devel mailing list