view tests/test-check-code-hg.t @ 18290:323e1267de36

color: add template label function
author Sean Farley <sean.michael.farley@gmail.com>
date Fri, 28 Dec 2012 19:25:10 -0600
parents a6180647ead4
children 667063b22a69
line wrap: on
line source

  $ 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