sapling/tests/test-check-fix-code.t

10 lines
292 B
Perl
Raw Normal View History

#require test-repo
$ . "$TESTDIR/helpers-testrepo.sh"
$ cd "$TESTDIR"/..
$ testrepohg files . > $TESTTMP/filelist
$ testrepohgenv; python ./contrib/fix-code.py --dry-run `cat $TESTTMP/filelist`
# In case the above list is not empty, run 'contrib/fix-code.py FILE...' to
# fix them.