view tests/test-revset.out @ 11409:7a6ac83a15b0

revset: add some tests
author Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
date Tue, 08 Jun 2010 17:56:57 +0200
parents
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