tests/test-check-code-hg.t
author Mads Kiilerich <madski@unity3d.com>
Wed, 16 Jan 2013 20:41:41 +0100
changeset 18414 c448562ad85b
parent 17977 a6180647ead4
child 18575 667063b22a69
permissions -rw-r--r--
bundlerepo: inline inbundle() It didn't make it faster, it didn't make the code smaller, it didn't make the code simpler. -1 is never in basemap.

  $ 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