equal
deleted
inserted
replaced
33 line2 |
33 line2 |
34 |
34 |
35 $ hg ci -m '3: merge with local rename' |
35 $ hg ci -m '3: merge with local rename' |
36 |
36 |
37 $ hg debugindex bar |
37 $ hg debugindex bar |
38 rev offset length linkrev nodeid p1 p2 |
38 rev linkrev nodeid p1 p2 |
39 0 0 77 2 d35118874825 000000000000 000000000000 |
39 0 2 d35118874825 000000000000 000000000000 |
40 1 77 76 3 5345f5ab8abd 000000000000 d35118874825 |
40 1 3 5345f5ab8abd 000000000000 d35118874825 |
41 |
41 |
42 $ hg debugrename bar |
42 $ hg debugrename bar |
43 bar renamed from foo:9e25c27b87571a1edee5ae4dddee5687746cc8e2 |
43 bar renamed from foo:9e25c27b87571a1edee5ae4dddee5687746cc8e2 |
44 |
44 |
45 $ hg debugindex foo |
45 $ hg debugindex foo |
46 rev offset length linkrev nodeid p1 p2 |
46 rev linkrev nodeid p1 p2 |
47 0 0 7 0 690b295714ae 000000000000 000000000000 |
47 0 0 690b295714ae 000000000000 000000000000 |
48 1 7 13 1 9e25c27b8757 690b295714ae 000000000000 |
48 1 1 9e25c27b8757 690b295714ae 000000000000 |
49 |
49 |
50 |
50 |
51 Revert the content change from rev 2: |
51 Revert the content change from rev 2: |
52 |
52 |
53 $ hg up -C 2 |
53 $ hg up -C 2 |
86 line2 |
86 line2 |
87 |
87 |
88 $ hg ci -m '5: merge' |
88 $ hg ci -m '5: merge' |
89 |
89 |
90 $ hg debugindex bar |
90 $ hg debugindex bar |
91 rev offset length linkrev nodeid p1 p2 |
91 rev linkrev nodeid p1 p2 |
92 0 0 77 2 d35118874825 000000000000 000000000000 |
92 0 2 d35118874825 000000000000 000000000000 |
93 1 77 76 3 5345f5ab8abd 000000000000 d35118874825 |
93 1 3 5345f5ab8abd 000000000000 d35118874825 |
94 2 153 7 4 ff4b45017382 d35118874825 000000000000 |
94 2 4 ff4b45017382 d35118874825 000000000000 |
95 3 160 13 5 3701b4893544 ff4b45017382 5345f5ab8abd |
95 3 5 3701b4893544 ff4b45017382 5345f5ab8abd |
96 |
96 |
97 |
97 |
98 Same thing, but with the merge on 3 having the rename |
98 Same thing, but with the merge on 3 having the rename |
99 on the remote parent: |
99 on the remote parent: |
100 |
100 |
121 line2 |
121 line2 |
122 |
122 |
123 $ hg ci -m '3: merge with remote rename' |
123 $ hg ci -m '3: merge with remote rename' |
124 |
124 |
125 $ hg debugindex bar |
125 $ hg debugindex bar |
126 rev offset length linkrev nodeid p1 p2 |
126 rev linkrev nodeid p1 p2 |
127 0 0 77 2 d35118874825 000000000000 000000000000 |
127 0 2 d35118874825 000000000000 000000000000 |
128 1 77 76 3 5345f5ab8abd 000000000000 d35118874825 |
128 1 3 5345f5ab8abd 000000000000 d35118874825 |
129 |
129 |
130 $ hg debugrename bar |
130 $ hg debugrename bar |
131 bar renamed from foo:9e25c27b87571a1edee5ae4dddee5687746cc8e2 |
131 bar renamed from foo:9e25c27b87571a1edee5ae4dddee5687746cc8e2 |
132 |
132 |
133 $ hg debugindex foo |
133 $ hg debugindex foo |
134 rev offset length linkrev nodeid p1 p2 |
134 rev linkrev nodeid p1 p2 |
135 0 0 7 0 690b295714ae 000000000000 000000000000 |
135 0 0 690b295714ae 000000000000 000000000000 |
136 1 7 13 1 9e25c27b8757 690b295714ae 000000000000 |
136 1 1 9e25c27b8757 690b295714ae 000000000000 |
137 |
137 |
138 |
138 |
139 Revert the content change from rev 2: |
139 Revert the content change from rev 2: |
140 |
140 |
141 $ hg up -C 2 |
141 $ hg up -C 2 |
174 line2 |
174 line2 |
175 |
175 |
176 $ hg ci -m '5: merge' |
176 $ hg ci -m '5: merge' |
177 |
177 |
178 $ hg debugindex bar |
178 $ hg debugindex bar |
179 rev offset length linkrev nodeid p1 p2 |
179 rev linkrev nodeid p1 p2 |
180 0 0 77 2 d35118874825 000000000000 000000000000 |
180 0 2 d35118874825 000000000000 000000000000 |
181 1 77 76 3 5345f5ab8abd 000000000000 d35118874825 |
181 1 3 5345f5ab8abd 000000000000 d35118874825 |
182 2 153 7 4 ff4b45017382 d35118874825 000000000000 |
182 2 4 ff4b45017382 d35118874825 000000000000 |
183 3 160 13 5 3701b4893544 ff4b45017382 5345f5ab8abd |
183 3 5 3701b4893544 ff4b45017382 5345f5ab8abd |
184 |
184 |
185 $ cd .. |
185 $ cd .. |