changeset 14080:debe5083a84e

revset: add tests for multiple and mixed ^ and ~ operators
author Kevin Gessner <kevin@kevingessner.com>
date Sat, 30 Apr 2011 18:53:56 +0200
parents 08fde203a600
children 8670e3694b85
files tests/test-revset.t
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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