view tests/test-check-code-hg.t @ 18981:83ead8cb0ff2

largefiles: implement pull --all-largefiles as a special case of --lfrev
author Mads Kiilerich <madski@unity3d.com>
date Mon, 15 Apr 2013 01:59:11 +0200
parents 339a3fa19695
children cba222f01056
line wrap: on
line source

  $ check_code="$TESTDIR"/../contrib/check-code.py
  $ cd "$TESTDIR"/..
  $ if hg identify -q > /dev/null 2>&1; then :
  > else
  >     echo "skipped: not a Mercurial working dir" >&2
  >     exit 80
  > fi

New errors are not allowed. Warnings are strongly discouraged.

  $ hg manifest 2>/dev/null \
  >   | xargs "$check_code" --warnings --nolineno --per-file=0 \
  >   || false