tests/test-dirstatedirs
author Patrick Mezard <pmezard@gmail.com>
Sat, 07 Aug 2010 15:38:05 +0200
changeset 11762 8b03c988efb3
parent 7096 6dab29f6df37
permissions -rwxr-xr-x
tests: run check-code.py on working directory files If we insist on Mercurial sources to pass check-code.py, let automate the process and make it part of the tests. Objections?

#!/bin/sh

# test dirstate._dirs refcounting
hg init t
cd t
mkdir -p a/b/c/d
touch a/b/c/d/x
touch a/b/c/d/y
touch a/b/c/d/z
hg ci -Am m
hg mv a z