tests/test-check-code-hg.t
author Mads Kiilerich <mads@kiilerich.com>
Tue, 15 Jan 2013 02:59:14 +0100
changeset 18373 687ed69f6fdf
parent 17977 a6180647ead4
child 18575 667063b22a69
permissions -rw-r--r--
convert: process missing branches in sorted order

  $ 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