Show More
@@ -13,7 +13,11 b' teststrip() {' | |||
|
13 | 13 | chmod +$3 $4 |
|
14 | 14 | hg verify |
|
15 | 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 | 21 | ls .hg/store/journal >/dev/null 2>&1 && hg recover |
|
18 | 22 | ls .hg/strip-backup/* >/dev/null 2>&1 && hg unbundle -q .hg/strip-backup/* |
|
19 | 23 | rm -rf .hg/strip-backup |
@@ -46,7 +46,7 b' crosschecking files in changesets and ma' | |||
|
46 | 46 | checking files |
|
47 | 47 | 3 files, 4 changesets, 4 total revisions |
|
48 | 48 | % journal contents |
|
49 | cat: .hg/store/journal: No such file or directory | |
|
49 | (no journal) | |
|
50 | 50 | % before update 0, strip 2 |
|
51 | 51 | changeset: 0:cb9a9f314b8b |
|
52 | 52 | user: test |
General Comments 0
You need to be logged in to leave comments.
Login now