##// END OF EJS Templates
tests: run many tests in $TESTTMP/repo instead of $TESTTMP...
tests: run many tests in $TESTTMP/repo instead of $TESTTMP This is useful so we can store other files in $TESTTMP (in particular tests that use docket files (nodemap, dirstate-v2) keep file uids in $TESTTMP/UID)

File last commit:

r50516:55c6ebd1 stable
r50516:55c6ebd1 stable
Show More
test-strict.t
27 lines | 451 B | text/troff | Tads3Lexer
Arseniy Alekseyev
tests: run many tests in $TESTTMP/repo instead of $TESTTMP...
r50516 $ hg init repo
$ cd repo
Nicolas Dumazet
tests: unify test-strict
r12097
$ echo a > a
$ hg ci -Ama
adding a
$ hg an a
0: a
Yuya Nishihara
commands: parse ui.strict config item as bool
r16591 $ hg --config ui.strict=False an a
0: a
Nicolas Dumazet
tests: unify test-strict
r12097 $ echo "[ui]" >> $HGRCPATH
$ echo "strict=True" >> $HGRCPATH
$ hg an a
hg: unknown command 'an'
Martin von Zweigbergk
dispatch: don't show list of commands on bogus command...
r38823 (use 'hg help' for a list of commands)
Martin von Zweigbergk
error: use detailed exit code 10 for command errors...
r46888 [10]
Nicolas Dumazet
tests: unify test-strict
r12097 $ hg annotate a
0: a
should succeed - up is an alias, not an abbreviation
$ hg up
0 files updated, 0 files merged, 0 files removed, 0 files unresolved