view tests/test-revset.out @ 11412:51ceb1571805

parser: improve infix error checking (spotted by timeless)
author Matt Mackall <mpm@selenic.com>
date Sat, 19 Jun 2010 17:56:52 -0500
parents 7a6ac83a15b0
children 3cc2e34d7a7d
line wrap: on
line source

marked working directory as branch a
marked working directory as branch b
marked working directory as branch a-b-c-
marked working directory as branch -a-b-c-
marked working directory as branch +a+b+c+
marked working directory as branch /a/b/c/
marked working directory as branch _a_b_c_
marked working directory as branch .a.b.c.
% hg debugrevspec a
0
% hg debugrevspec b-a
1
% hg debugrevspec _a_b_c_
6
% hg debugrevspec _a_b_c_-a
6
% hg debugrevspec .a.b.c.
7
% hg debugrevspec .a.b.c.-a
7
% hg debugrevspec "-a-b-c-"
3
% hg debugrevspec "-a-b-c-"-a
3