##// END OF EJS Templates
revsetlang: do not pass in non-bytes to parse()...
revsetlang: do not pass in non-bytes to parse() Since parse() isn't a simple function, we shouldn't expect it would raise TypeError or ValueError for invalid inputs. Before, TypeError was raised at 'if pos != len(spec)', which was quite late to report an error. This patch also makes tokenize() detect invalid object before converting it to a py3-safe bytes. Spotted while adding the 'revset(...)' hack to _parsewith().

File last commit:

r26421:4b0fc75f default
r37793:03d7f885 default
Show More
README
7 lines | 141 B | text/plain | TextLexer
mpm@selenic.com
testing fixups...
r332 To run the tests, do:
cd tests/
Stephen Darnell
Delete the shell version of run-tests...
r2207 python run-tests.py
mpm@selenic.com
testing fixups...
r332
Matt Mackall
urls: bulk-change primary website URLs
r26421 See https://mercurial-scm.org/wiki/WritingTests for
Matt Mackall
Move test suite docs to the wiki
r3934 more information on writing tests.