comparison tests/test-revset.t @ 25819:be29d26e2949

revset: parse nullary ":" operator as "0:tip" This is necessary for compatibility with the old-style parser that will be removed by future patches.
author Yuya Nishihara <yuya@tcha.org>
date Sun, 05 Jul 2015 12:15:54 +0900
parents d51dac68ec98
children 0203c50a589f 4f703dcc626f
comparison
equal deleted inserted replaced
25818:455190fb4e51 25819:be29d26e2949
115 ('symbol', '1')) 115 ('symbol', '1'))
116 * set: 116 * set:
117 <spanset+ 0:1> 117 <spanset+ 0:1>
118 0 118 0
119 1 119 1
120 $ try --optimize :
121 (rangeall
122 None)
123 * optimized:
124 (range
125 ('string', '0')
126 ('string', 'tip'))
127 * set:
128 <spanset+ 0:9>
129 0
130 1
131 2
132 3
133 4
134 5
135 6
136 7
137 8
138 9
120 $ try 3::6 139 $ try 3::6
121 (dagrange 140 (dagrange
122 ('symbol', '3') 141 ('symbol', '3')
123 ('symbol', '6')) 142 ('symbol', '6'))
124 * set: 143 * set: