Show More
@@ -13,7 +13,11 teststrip() { | |||||
13 | chmod +$3 $4 |
|
13 | chmod +$3 $4 | |
14 | hg verify |
|
14 | hg verify | |
15 | echo % journal contents |
|
15 | echo % journal contents | |
16 | cat .hg/store/journal | sed 's/\.i[^\n]*/\.i/' |
|
16 | if [ -f .hg/store/journal ]; then | |
|
17 | sed -e 's/\.i[^\n]*/\.i/' .hg/store/journal | |||
|
18 | else | |||
|
19 | echo "(no journal)" | |||
|
20 | fi | |||
17 | ls .hg/store/journal >/dev/null 2>&1 && hg recover |
|
21 | ls .hg/store/journal >/dev/null 2>&1 && hg recover | |
18 | ls .hg/strip-backup/* >/dev/null 2>&1 && hg unbundle -q .hg/strip-backup/* |
|
22 | ls .hg/strip-backup/* >/dev/null 2>&1 && hg unbundle -q .hg/strip-backup/* | |
19 | rm -rf .hg/strip-backup |
|
23 | rm -rf .hg/strip-backup |
@@ -46,7 +46,7 crosschecking files in changesets and ma | |||||
46 | checking files |
|
46 | checking files | |
47 | 3 files, 4 changesets, 4 total revisions |
|
47 | 3 files, 4 changesets, 4 total revisions | |
48 | % journal contents |
|
48 | % journal contents | |
49 | cat: .hg/store/journal: No such file or directory |
|
49 | (no journal) | |
50 | % before update 0, strip 2 |
|
50 | % before update 0, strip 2 | |
51 | changeset: 0:cb9a9f314b8b |
|
51 | changeset: 0:cb9a9f314b8b | |
52 | user: test |
|
52 | user: test |
General Comments 0
You need to be logged in to leave comments.
Login now