Mercurial > hg-stable
annotate tests/test-issue6528.t @ 47052:411dc27fd9fd stable 5.8.1
corruption: backout changeset 49fd21f32695 (issue6528)
inverting the parent is masking copy information leading to bad content being
fetched and bad status result.
Since 49fd21f32695, exchange can actively swap these parent corrupting existing
changesets and triggering the corruption.
Data corruption are considered critical so backing this out and doing and
unscheduled release seems in order.
Differential Revision: https://phab.mercurial-scm.org/D10995
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Tue, 06 Jul 2021 16:12:09 +0200 |
parents | bd0a2a919bf8 |
children | b30a53ffbf9b |
rev | line source |
---|---|
47051
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
1 =============================================================== |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
2 Test non-regression on the corruption associated with issue6528 |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
3 =============================================================== |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
4 |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
5 Setup |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
6 ----- |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
7 |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
8 $ hg init base-repo |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
9 $ cd base-repo |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
10 |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
11 $ cat <<EOF > a.txt |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
12 > 1 |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
13 > 2 |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
14 > 3 |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
15 > 4 |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
16 > 5 |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
17 > 6 |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
18 > EOF |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
19 |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
20 $ hg add a.txt |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
21 $ hg commit -m 'c_base_c - create a.txt' |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
22 |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
23 Modify a.txt |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
24 |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
25 $ sed -e 's/1/foo/' a.txt > a.tmp; mv a.tmp a.txt |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
26 $ hg commit -m 'c_modify_c - modify a.txt' |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
27 |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
28 Modify and rename a.txt to b.txt |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
29 |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
30 $ hg up -r "desc('c_base_c')" |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
31 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
32 $ sed -e 's/6/bar/' a.txt > a.tmp; mv a.tmp a.txt |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
33 $ hg mv a.txt b.txt |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
34 $ hg commit -m 'c_rename_c - rename and modify a.txt to b.txt' |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
35 created new head |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
36 |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
37 Merge each branch |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
38 |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
39 $ hg merge -r "desc('c_modify_c')" |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
40 merging b.txt and a.txt to b.txt |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
41 0 files updated, 1 files merged, 0 files removed, 0 files unresolved |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
42 (branch merge, don't forget to commit) |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
43 $ hg commit -m 'c_merge_c: commit merge' |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
44 |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
45 $ hg debugrevlogindex b.txt |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
46 rev linkrev nodeid p1 p2 |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
47 0 2 05b806ebe5ea 000000000000 000000000000 |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
48 1 3 a58b36ad6b65 000000000000 05b806ebe5ea |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
49 |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
50 Check commit Graph |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
51 |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
52 $ hg log -G |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
53 @ changeset: 3:a1cc2bdca0aa |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
54 |\ tag: tip |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
55 | | parent: 2:615c6ccefd15 |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
56 | | parent: 1:373d507f4667 |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
57 | | user: test |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
58 | | date: Thu Jan 01 00:00:00 1970 +0000 |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
59 | | summary: c_merge_c: commit merge |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
60 | | |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
61 | o changeset: 2:615c6ccefd15 |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
62 | | parent: 0:f5a5a568022f |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
63 | | user: test |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
64 | | date: Thu Jan 01 00:00:00 1970 +0000 |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
65 | | summary: c_rename_c - rename and modify a.txt to b.txt |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
66 | | |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
67 o | changeset: 1:373d507f4667 |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
68 |/ user: test |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
69 | date: Thu Jan 01 00:00:00 1970 +0000 |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
70 | summary: c_modify_c - modify a.txt |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
71 | |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
72 o changeset: 0:f5a5a568022f |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
73 user: test |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
74 date: Thu Jan 01 00:00:00 1970 +0000 |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
75 summary: c_base_c - create a.txt |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
76 |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
77 |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
78 $ hg cat -r . b.txt |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
79 foo |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
80 2 |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
81 3 |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
82 4 |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
83 5 |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
84 bar |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
85 $ cat b.txt |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
86 foo |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
87 2 |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
88 3 |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
89 4 |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
90 5 |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
91 bar |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
92 $ cd .. |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
93 |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
94 |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
95 Check the lack of corruption |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
96 ---------------------------- |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
97 |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
98 $ hg clone --pull base-repo cloned |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
99 requesting all changes |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
100 adding changesets |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
101 adding manifests |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
102 adding file changes |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
103 added 4 changesets with 4 changes to 2 files |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
104 new changesets f5a5a568022f:a1cc2bdca0aa |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
105 updating to branch default |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
106 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
107 $ cd cloned |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
108 $ hg up -r "desc('c_merge_c')" |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
109 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
110 |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
111 |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
112 Status is buggy, even with debugrebuilddirstate |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
113 |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
114 $ hg cat -r . b.txt |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
115 foo |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
116 2 |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
117 3 |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
118 4 |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
119 5 |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
120 bar |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
121 $ cat b.txt |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
122 foo |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
123 2 |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
124 3 |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
125 4 |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
126 5 |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
127 bar |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
128 $ hg status |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
129 $ hg debugrebuilddirstate |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
130 $ hg status |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
131 |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
132 the history was altered |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
133 |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
134 in theory p1/p2 order does not matter but in practice p1 == nullid is used as a |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
135 marker that some metadata are present and should be fetched. |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
136 |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
137 $ hg debugrevlogindex b.txt |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
138 rev linkrev nodeid p1 p2 |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
139 0 2 05b806ebe5ea 000000000000 000000000000 |
47052
411dc27fd9fd
corruption: backout changeset 49fd21f32695 (issue6528)
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
47051
diff
changeset
|
140 1 3 a58b36ad6b65 000000000000 05b806ebe5ea |
47051
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
141 |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
142 Check commit Graph |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
143 |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
144 $ hg log -G |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
145 @ changeset: 3:a1cc2bdca0aa |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
146 |\ tag: tip |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
147 | | parent: 2:615c6ccefd15 |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
148 | | parent: 1:373d507f4667 |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
149 | | user: test |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
150 | | date: Thu Jan 01 00:00:00 1970 +0000 |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
151 | | summary: c_merge_c: commit merge |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
152 | | |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
153 | o changeset: 2:615c6ccefd15 |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
154 | | parent: 0:f5a5a568022f |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
155 | | user: test |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
156 | | date: Thu Jan 01 00:00:00 1970 +0000 |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
157 | | summary: c_rename_c - rename and modify a.txt to b.txt |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
158 | | |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
159 o | changeset: 1:373d507f4667 |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
160 |/ user: test |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
161 | date: Thu Jan 01 00:00:00 1970 +0000 |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
162 | summary: c_modify_c - modify a.txt |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
163 | |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
164 o changeset: 0:f5a5a568022f |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
165 user: test |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
166 date: Thu Jan 01 00:00:00 1970 +0000 |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
167 summary: c_base_c - create a.txt |
bd0a2a919bf8
corruption: add a test for issue6528
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
168 |