equal
deleted
inserted
replaced
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 > if ls .hg/store/journal >/dev/null 2>&1; then |
|
29 > hg recover --verify |
|
30 > fi |
29 > ls .hg/strip-backup/* >/dev/null 2>&1 && hg unbundle -q .hg/strip-backup/* |
31 > ls .hg/strip-backup/* >/dev/null 2>&1 && hg unbundle -q .hg/strip-backup/* |
30 > rm -rf .hg/strip-backup |
32 > rm -rf .hg/strip-backup |
31 > } |
33 > } |
32 |
34 |
33 $ hg init test |
35 $ hg init test |