Mercurial > hg
comparison tests/test-repair-strip.t @ 32940:75be14993fda
cleanup: use $PYTHON to run python in many more tests
Spotted one of these, then wrote a check-code rule that caught them
all. It will be the next change.
author | Augie Fackler <augie@google.com> |
---|---|
date | Tue, 20 Jun 2017 09:45:02 -0400 |
parents | 769aee32fae0 |
children | 27fb986e54d0 |
comparison
equal
deleted
inserted
replaced
32939:cad62cb3c84c | 32940:75be14993fda |
---|---|
19 > echo % after update $1, strip $2 | 19 > echo % after update $1, strip $2 |
20 > chmod +$3 $4 | 20 > chmod +$3 $4 |
21 > hg verify | 21 > hg verify |
22 > echo % journal contents | 22 > echo % journal contents |
23 > if [ -f .hg/store/journal ]; then | 23 > if [ -f .hg/store/journal ]; then |
24 > cat .hg/store/journal | python $TESTTMP/dumpjournal.py | 24 > cat .hg/store/journal | $PYTHON $TESTTMP/dumpjournal.py |
25 > else | 25 > else |
26 > echo "(no journal)" | 26 > echo "(no journal)" |
27 > fi | 27 > fi |
28 > ls .hg/store/journal >/dev/null 2>&1 && hg recover | 28 > ls .hg/store/journal >/dev/null 2>&1 && hg recover |
29 > ls .hg/strip-backup/* >/dev/null 2>&1 && hg unbundle -q .hg/strip-backup/* | 29 > ls .hg/strip-backup/* >/dev/null 2>&1 && hg unbundle -q .hg/strip-backup/* |