tests/test-check-code-hg.t
author Matt Mackall <mpm@selenic.com>
Thu, 04 Apr 2013 16:28:15 -0500
branchstable
changeset 18874 64d751a93bf7
parent 17977 a6180647ead4
child 18575 667063b22a69
permissions -rw-r--r--
Added tag 2.5.4 for changeset 8a7bd2dccd44

  $ 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