view tests/test-check-code-hg.t @ 18600:8ba520003ae0

largefiles: make caching largefiles message more explicit In some cases, caching largefiles may take a long time (if the user has pulled a lot of new heads). This patch makes it more clear what is happening, by showing the number of heads we are caching largefiles for.
author Na'Tosha Bard <natosha@unity3d.com>
date Sat, 09 Feb 2013 15:08:21 +0000
parents d8cfe29c6b61
children ce844e8e8af2
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 \
  > || false
  tests/test-serve.t:0:
   >   >        kill `cat hg.pid`
   don't use kill, use killdaemons.py
  tests/test-serve.t:0:
   >   >        kill `cat hg.pid` 2>/dev/null
   don't use kill, use killdaemons.py
  [1]