Mercurial > hg
annotate tests/test-repair-strip.t @ 36037:8de90e006c78
run-tests: report tests that exception occurred in
We now record the test that an exception occurred in. We put this
information to use by aggregating the count of failures in each
test. For each exception, the exception report now prints the total
number of tests having that exception and the test with the least
number of exceptions exhibiting that failure. The exception list
is now sorted by (total count, tests impacted, count of failures
in least failing test).
This allows us to:
* Assess how widespread a failure is. Some exceptions occur a lot
in a few tests. Others occur over many tests.
* Easily run a test exhibiting an exception without having to find
a failure in test output.
* Find and fix low hanging fruit (e.g. exceptions that are the
only failure in a test).
Here's an example of the new output:
199 (4 tests) /home/gps/src/hg/hgext/blackbox.py:191: %b requires a bytes-like object, or an object that implements __bytes__, not 'str' (test-devel-warnings.t - 1 total)
142 (19 tests) /home/gps/src/hg/hgext/mq.py:655: list indices must be integers or slices, not bytes (test-hardlinks.t - 1 total)
140 (20 tests) /home/gps/src/hg/mercurial/patch.py:296: string argument expected, got 'bytes' (test-audit-subrepo.t - 1 total)
101 (15 tests) /home/gps/src/hg/hgext/convert/convcmd.py:60: encode() argument 1 must be str, not bytes (test-convert-clonebranches.t - 1 total)
90 (2 tests) /home/gps/src/hg/hgext/mq.py:456: can't concat str to bytes (test-mq-qqueue.t - 1 total)
87 (2 tests) /home/gps/src/hg/mercurial/branchmap.py:380: %b requires a bytes-like object, or an object that implements __bytes__, not 'FileNotFoundError' (test-branches.t - 2 total)
85 (22 tests) /home/gps/src/hg/mercurial/sshpeer.py:223: cannot convert 'UUID' object to bytes (test-bundle2-pushback.t - 1 total)
1 (1 tests) /home/gps/src/hg/mercurial/formatter.py:254: %b requires a bytes-like object, or an object that implements __bytes__, not 'str' (test-debugextensions.t - 2 total)
1 (1 tests) /home/gps/src/hg/hgext/convert/convcmd.py:420: startswith first arg must be str or a tuple of str, not bytes (test-convert-authormap.t - 2 total)
1 (1 tests) /home/gps/src/hg/mercurial/revlog.py:797: '>=' not supported between instances of 'NoneType' and 'int' (test-unionrepo.t - 1 total)
1 (1 tests) /home/gps/src/hg/hgext/show.py:129: %b requires a bytes-like object, or an object that implements __bytes__, not 'str' (test-show.t - 1 total)
Differential Revision: https://phab.mercurial-scm.org/D2138
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Sun, 11 Feb 2018 12:42:10 -0800 |
parents | 27fb986e54d0 |
children | a6651f5e2c78 |
rev | line source |
---|---|
22047
8fb6844a4ff1
tests: change some #ifs to #requires
Matt Mackall <mpm@selenic.com>
parents:
20008
diff
changeset
|
1 #require unix-permissions no-root |
14022
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
2 |
27993
afb86ee925bf
tests: dump journal file by python script instead of sed for portability
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents:
22047
diff
changeset
|
3 $ cat > $TESTTMP/dumpjournal.py <<EOF |
afb86ee925bf
tests: dump journal file by python script instead of sed for portability
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents:
22047
diff
changeset
|
4 > import sys |
afb86ee925bf
tests: dump journal file by python script instead of sed for portability
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents:
22047
diff
changeset
|
5 > for entry in sys.stdin.read().split('\n'): |
afb86ee925bf
tests: dump journal file by python script instead of sed for portability
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents:
22047
diff
changeset
|
6 > if entry: |
33720
27fb986e54d0
tests: fix simple heredoc print statements to work on Py3
Augie Fackler <augie@google.com>
parents:
32940
diff
changeset
|
7 > print(entry.split('\x00')[0]) |
27993
afb86ee925bf
tests: dump journal file by python script instead of sed for portability
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents:
22047
diff
changeset
|
8 > EOF |
afb86ee925bf
tests: dump journal file by python script instead of sed for portability
FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
parents:
22047
diff
changeset
|
9 |
14022
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
10 $ echo "[extensions]" >> $HGRCPATH |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
11 $ echo "mq=">> $HGRCPATH |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
12 |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
13 $ teststrip() { |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
14 > hg -q up -C $1 |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
15 > echo % before update $1, strip $2 |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
16 > hg parents |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
17 > chmod -$3 $4 |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
18 > hg strip $2 2>&1 | sed 's/\(bundle\).*/\1/' | sed 's/Permission denied.*\.hg\/store\/\(.*\)/Permission denied \.hg\/store\/\1/' |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
19 > echo % after update $1, strip $2 |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
20 > chmod +$3 $4 |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
21 > hg verify |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
22 > echo % journal contents |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
23 > if [ -f .hg/store/journal ]; then |
32940
75be14993fda
cleanup: use $PYTHON to run python in many more tests
Augie Fackler <augie@google.com>
parents:
29954
diff
changeset
|
24 > cat .hg/store/journal | $PYTHON $TESTTMP/dumpjournal.py |
14022
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
25 > else |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
26 > echo "(no journal)" |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
27 > fi |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
28 > ls .hg/store/journal >/dev/null 2>&1 && hg recover |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
29 > ls .hg/strip-backup/* >/dev/null 2>&1 && hg unbundle -q .hg/strip-backup/* |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
30 > rm -rf .hg/strip-backup |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
31 > } |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
32 |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
33 $ hg init test |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
34 $ cd test |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
35 $ echo a > a |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
36 $ hg -q ci -m "a" -A |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
37 $ echo b > b |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
38 $ hg -q ci -m "b" -A |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
39 $ echo b2 >> b |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
40 $ hg -q ci -m "b2" -A |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
41 $ echo c > c |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
42 $ hg -q ci -m "c" -A |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
43 $ teststrip 0 2 w .hg/store/data/b.i |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
44 % before update 0, strip 2 |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
45 changeset: 0:cb9a9f314b8b |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
46 user: test |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
47 date: Thu Jan 01 00:00:00 1970 +0000 |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
48 summary: a |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
49 |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
50 saved backup bundle |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
51 transaction abort! |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
52 failed to truncate data/b.i |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
53 rollback failed - please run hg recover |
29954
769aee32fae0
strip: don't use "full" and "partial" to describe bundles
Martin von Zweigbergk <martinvonz@google.com>
parents:
27993
diff
changeset
|
54 strip failed, backup bundle |
14022
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
55 abort: Permission denied .hg/store/data/b.i |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
56 % after update 0, strip 2 |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
57 abandoned transaction found - run hg recover |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
58 checking changesets |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
59 checking manifests |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
60 crosschecking files in changesets and manifests |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
61 checking files |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
62 b@?: rev 1 points to nonexistent changeset 2 |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
63 (expected 1) |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
64 b@?: 736c29771fba not in manifests |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
65 warning: orphan revlog 'data/c.i' |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
66 2 files, 2 changesets, 3 total revisions |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
67 2 warnings encountered! |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
68 2 integrity errors encountered! |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
69 % journal contents |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
70 00changelog.i |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
71 00manifest.i |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
72 data/b.i |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
73 data/c.i |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
74 rolling back interrupted transaction |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
75 checking changesets |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
76 checking manifests |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
77 crosschecking files in changesets and manifests |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
78 checking files |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
79 2 files, 2 changesets, 2 total revisions |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
80 $ teststrip 0 2 r .hg/store/data/b.i |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
81 % before update 0, strip 2 |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
82 changeset: 0:cb9a9f314b8b |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
83 user: test |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
84 date: Thu Jan 01 00:00:00 1970 +0000 |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
85 summary: a |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
86 |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
87 abort: Permission denied .hg/store/data/b.i |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
88 % after update 0, strip 2 |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
89 checking changesets |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
90 checking manifests |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
91 crosschecking files in changesets and manifests |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
92 checking files |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
93 3 files, 4 changesets, 4 total revisions |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
94 % journal contents |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
95 (no journal) |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
96 $ teststrip 0 2 w .hg/store/00manifest.i |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
97 % before update 0, strip 2 |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
98 changeset: 0:cb9a9f314b8b |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
99 user: test |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
100 date: Thu Jan 01 00:00:00 1970 +0000 |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
101 summary: a |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
102 |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
103 saved backup bundle |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
104 transaction abort! |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
105 failed to truncate 00manifest.i |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
106 rollback failed - please run hg recover |
29954
769aee32fae0
strip: don't use "full" and "partial" to describe bundles
Martin von Zweigbergk <martinvonz@google.com>
parents:
27993
diff
changeset
|
107 strip failed, backup bundle |
14022
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
108 abort: Permission denied .hg/store/00manifest.i |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
109 % after update 0, strip 2 |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
110 abandoned transaction found - run hg recover |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
111 checking changesets |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
112 checking manifests |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
113 manifest@?: rev 2 points to nonexistent changeset 2 |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
114 manifest@?: 3362547cdf64 not in changesets |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
115 manifest@?: rev 3 points to nonexistent changeset 3 |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
116 manifest@?: 265a85892ecb not in changesets |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
117 crosschecking files in changesets and manifests |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
118 c@3: in manifest but not in changeset |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
119 checking files |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
120 b@?: rev 1 points to nonexistent changeset 2 |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
121 (expected 1) |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
122 c@?: rev 0 points to nonexistent changeset 3 |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
123 3 files, 2 changesets, 4 total revisions |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
124 1 warnings encountered! |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
125 7 integrity errors encountered! |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
126 (first damaged changeset appears to be 3) |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
127 % journal contents |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
128 00changelog.i |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
129 00manifest.i |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
130 data/b.i |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
131 data/c.i |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
132 rolling back interrupted transaction |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
133 checking changesets |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
134 checking manifests |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
135 crosschecking files in changesets and manifests |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
136 checking files |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
137 2 files, 2 changesets, 2 total revisions |
f8e1dc896e5f
test-repair-strip: turn into new style test
Patrick Mezard <pmezard@gmail.com>
parents:
diff
changeset
|
138 |
16913
f2719b387380
tests: add missing trailing 'cd ..'
Mads Kiilerich <mads@kiilerich.com>
parents:
15443
diff
changeset
|
139 $ cd .. |