mirror of
https://github.com/facebook/sapling.git
synced 2024-10-08 15:57:43 +03:00
202783c374
The accepted warnings list is now empty, let's try to keep it that way.
12 lines
340 B
Perl
12 lines
340 B
Perl
$ check_code="$TESTDIR"/../contrib/check-code.py
|
|
$ cd "$TESTDIR"/..
|
|
$ if hg identify -q > /dev/null; then :
|
|
> else
|
|
> echo "skipped: not a Mercurial working dir" >&2
|
|
> exit 80
|
|
> fi
|
|
|
|
New errors are not allowed. Warnings are strongly discouraged.
|
|
|
|
$ hg manifest | xargs "$check_code" --warnings --nolineno --per-file=0
|