Show More
@@ -1419,7 +1419,7 b' def _getrevsfromsymbols(repo, symbols):' | |||||
1419 |
|
1419 | |||
1420 | try: |
|
1420 | try: | |
1421 | s = pmatch(s) |
|
1421 | s = pmatch(s) | |
1422 | except error.LookupError: |
|
1422 | except (error.LookupError, error.WdirUnsupported): | |
1423 | s = None |
|
1423 | s = None | |
1424 |
|
1424 | |||
1425 | if s is not None: |
|
1425 | if s is not None: |
@@ -179,6 +179,19 b' This should not throw error' | |||||
179 | foo |
|
179 | foo | |
180 | -bar |
|
180 | -bar | |
181 |
|
181 | |||
|
182 | Test special hash/rev | |||
|
183 | ||||
|
184 | $ hg log -qr 'null:wdir() & 000000000000' | |||
|
185 | -1:000000000000 | |||
|
186 | $ hg log -qr 'null:wdir() & ffffffffffff' | |||
|
187 | 2147483647:ffffffffffff | |||
|
188 | $ hg log -qr 'null:wdir() & rev(-1)' | |||
|
189 | -1:000000000000 | |||
|
190 | $ hg log -qr 'null:wdir() & rev(2147483647)' | |||
|
191 | 2147483647:ffffffffffff | |||
|
192 | $ hg log -qr 'null:wdir() & 2147483647' | |||
|
193 | 2147483647:ffffffffffff | |||
|
194 | ||||
182 | Commands with undefined cmdtype should not work right now |
|
195 | Commands with undefined cmdtype should not work right now | |
183 |
|
196 | |||
184 | $ hg phase -r 28ad74 |
|
197 | $ hg phase -r 28ad74 |
General Comments 0
You need to be logged in to leave comments.
Login now