diff 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
line wrap: on
line diff
--- a/tests/test-revset.t	Fri May 11 18:51:35 2012 +0200
+++ b/tests/test-revset.t	Sat May 12 10:20:57 2012 +0200
@@ -32,6 +32,13 @@
   (branches are permanent and global, did you want a bookmark?)
   $ hg ci -Aqm2 -u Bob
 
+  $ hg log -r "extra('branch', 'a-b-c-')" --template '{rev}\n'
+  2
+  $ hg log -r "extra('branch')" --template '{rev}\n'
+  0
+  1
+  2
+
   $ hg co 1
   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
   $ hg branch +a+b+c+