##// END OF EJS Templates
bash_completion: tell an editor what type of file this is
bash_completion: tell an editor what type of file this is

File last commit:

r18602:339a3fa1 default
r18769:83a99f10 default
Show More
test-check-code-hg.t
13 lines | 382 B | text/troff | Tads3Lexer
/ tests / test-check-code-hg.t
$ check_code="$TESTDIR"/../contrib/check-code.py
$ cd "$TESTDIR"/..
$ if hg identify -q > /dev/null 2>&1; then :
> else
> echo "skipped: not a Mercurial working dir" >&2
> exit 80
> fi
New errors are not allowed. Warnings are strongly discouraged.
$ hg manifest 2>/dev/null \
> | xargs "$check_code" --warnings --nolineno --per-file=0 \
> || false