comparison tests/test-revset.t @ 16661:de4b42daf396

revset: add function for matching extra data (issue2767)
author Henrik Stuart <hg@hstuart.dk>
date Sat, 12 May 2012 10:20:57 +0200
parents 592e0beee8b0
children 2ac08d8b21aa
comparison
equal deleted inserted replaced
16660:2a71cc53f244 16661:de4b42daf396
29 $ rm a 29 $ rm a
30 $ hg branch a-b-c- 30 $ hg branch a-b-c-
31 marked working directory as branch a-b-c- 31 marked working directory as branch a-b-c-
32 (branches are permanent and global, did you want a bookmark?) 32 (branches are permanent and global, did you want a bookmark?)
33 $ hg ci -Aqm2 -u Bob 33 $ hg ci -Aqm2 -u Bob
34
35 $ hg log -r "extra('branch', 'a-b-c-')" --template '{rev}\n'
36 2
37 $ hg log -r "extra('branch')" --template '{rev}\n'
38 0
39 1
40 2
34 41
35 $ hg co 1 42 $ hg co 1
36 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 43 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
37 $ hg branch +a+b+c+ 44 $ hg branch +a+b+c+
38 marked working directory as branch +a+b+c+ 45 marked working directory as branch +a+b+c+