--- a/tests/test-revset.t Sat Jul 18 23:02:18 2015 +0900
+++ b/tests/test-revset.t Sat Jul 18 23:30:17 2015 +0900
@@ -201,13 +201,49 @@
names that should be caught by fallback mechanism
$ try -- '-a-b-c-'
- (negate
- ('symbol', 'a-b-c-'))
+ ('symbol', '-a-b-c-')
* set:
<baseset [4]>
4
$ log -a-b-c-
4
+ $ try '+a+b+c+'
+ ('symbol', '+a+b+c+')
+ * set:
+ <baseset [3]>
+ 3
+ $ try '+a+b+c+:'
+ (rangepost
+ ('symbol', '+a+b+c+'))
+ * set:
+ <spanset+ 3:9>
+ 3
+ 4
+ 5
+ 6
+ 7
+ 8
+ 9
+ $ try ':+a+b+c+'
+ (rangepre
+ ('symbol', '+a+b+c+'))
+ * set:
+ <spanset+ 0:3>
+ 0
+ 1
+ 2
+ 3
+ $ try -- '-a-b-c-:+a+b+c+'
+ (range
+ ('symbol', '-a-b-c-')
+ ('symbol', '+a+b+c+'))
+ * set:
+ <spanset- 3:4>
+ 4
+ 3
+ $ log '-a-b-c-:+a+b+c+'
+ 4
+ 3
$ try -- -a-b-c--a # complains
(minus