##// 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:

r37301:d4e62df1 default
r37793:03d7f885 default
Show More
test-extra-filelog-entry.t
21 lines | 388 B | text/troff | Tads3Lexer
/ tests / test-extra-filelog-entry.t
Martin Geisler
tests: added a short description to issue numbers...
r12399 Issue351: mq: qrefresh can create extra revlog entry
Adrian Buehlmann
tests: unify test-extra-filelog-entry
r12305
$ echo "[extensions]" >> $HGRCPATH
$ echo "mq=" >> $HGRCPATH
$ hg init
$ hg qinit
$ echo b > b
$ hg ci -A -m foo
adding b
$ echo cc > b
$ hg qnew -f foo.diff
$ echo b > b
$ hg qrefresh
Sune Foldager
tests: fix deprecated use of hg debugdata/debugindex...
r14182 $ hg debugindex b
Gregory Szorc
debugcommands: drop offset and length from debugindex by default...
r37301 rev linkrev nodeid p1 p2
0 0 1e88685f5dde 000000000000 000000000000
Adrian Buehlmann
tests: unify test-extra-filelog-entry
r12305