diff tests/test-revset @ 11456:88abbb046e66 stable

revset: deal with empty sets in range endpoints (spotted by Julian Cowley <julian@lava.net>)
author Matt Mackall <mpm@selenic.com>
date Mon, 28 Jun 2010 11:07:27 -0500
parents 3cc2e34d7a7d
children 6b836d5c8c9e
line wrap: on
line diff
--- a/tests/test-revset	Sun Jun 27 18:20:49 2010 -0500
+++ b/tests/test-revset	Mon Jun 28 11:07:27 2010 -0500
@@ -126,3 +126,10 @@
 log '4:8'
 
 log 'sort(!merge() & (modifies(b) | user(bob) | keyword(bug) | keyword(issue) & 1::9), "-date")'
+
+log 'not 0 and 0:2'
+log 'not 1 and 0:2'
+log 'not 2 and 0:2'
+log '(1 and 2)::'
+log '(1 and 2):'
+log '(1 and 2):3'