revset: add tests for multiple and mixed ^ and ~ operators
authorKevin Gessner <kevin@kevingessner.com>
Sat, 30 Apr 2011 18:53:56 +0200
changeset 14080 debe5083a84e
parent 14079 08fde203a600
child 14081 8670e3694b85
revset: add tests for multiple and mixed ^ and ~ operators
tests/test-revset.t
--- a/tests/test-revset.t	Sat Apr 30 18:27:39 2011 +0200
+++ b/tests/test-revset.t	Sat Apr 30 18:53:56 2011 +0200
@@ -385,6 +385,12 @@
   5
   $ log 'merge()^2'
   4
+  $ log 'merge()^^'
+  3
+  $ log 'merge()^1^'
+  3
+  $ log 'merge()^^^'
+  1
 
   $ log 'merge()~0'
   6
@@ -392,6 +398,8 @@
   5
   $ log 'merge()~2'
   3
+  $ log 'merge()~2^1'
+  1
   $ log 'merge()~3'
   1