equal
deleted
inserted
replaced
66 |
66 |
67 |
67 |
68 this should show a revision linked to changeset 0 |
68 this should show a revision linked to changeset 0 |
69 |
69 |
70 $ hg debugindex a |
70 $ hg debugindex a |
71 rev offset length linkrev nodeid p1 p2 |
71 rev linkrev nodeid p1 p2 |
72 0 0 3 0 b789fdd96dc2 000000000000 000000000000 |
72 0 0 b789fdd96dc2 000000000000 000000000000 |
73 |
73 |
74 we should see one log entry for b |
74 we should see one log entry for b |
75 |
75 |
76 $ hg log b |
76 $ hg log b |
77 changeset: 1:93580a2c28a5 |
77 changeset: 1:93580a2c28a5 |
82 |
82 |
83 |
83 |
84 this should show a revision linked to changeset 1 |
84 this should show a revision linked to changeset 1 |
85 |
85 |
86 $ hg debugindex b |
86 $ hg debugindex b |
87 rev offset length linkrev nodeid p1 p2 |
87 rev linkrev nodeid p1 p2 |
88 0 0 65 1 37d9b5d994ea 000000000000 000000000000 |
88 0 1 37d9b5d994ea 000000000000 000000000000 |
89 |
89 |
90 this should show the rename information in the metadata |
90 this should show the rename information in the metadata |
91 |
91 |
92 $ hg debugdata b 0 | head -3 | tail -2 |
92 $ hg debugdata b 0 | head -3 | tail -2 |
93 copy: a |
93 copy: a |
168 $ hg commit -m2 |
168 $ hg commit -m2 |
169 $ hg st -C |
169 $ hg st -C |
170 |
170 |
171 should match |
171 should match |
172 $ hg debugindex foo |
172 $ hg debugindex foo |
173 rev offset length linkrev nodeid p1 p2 |
173 rev linkrev nodeid p1 p2 |
174 0 0 5 0 2ed2a3912a0b 000000000000 000000000000 |
174 0 0 2ed2a3912a0b 000000000000 000000000000 |
175 $ hg debugrename bar |
175 $ hg debugrename bar |
176 bar renamed from foo:2ed2a3912a0b24502043eae84ee4b279c18b90dd |
176 bar renamed from foo:2ed2a3912a0b24502043eae84ee4b279c18b90dd |
177 |
177 |
178 $ echo bleah > foo |
178 $ echo bleah > foo |
179 $ echo quux > bar |
179 $ echo quux > bar |
198 |
198 |
199 $ hg commit -m3 |
199 $ hg commit -m3 |
200 |
200 |
201 should show no parents for tip |
201 should show no parents for tip |
202 $ hg debugindex bar |
202 $ hg debugindex bar |
203 rev offset length linkrev nodeid p1 p2 |
203 rev linkrev nodeid p1 p2 |
204 0 0 69 1 7711d36246cc 000000000000 000000000000 |
204 0 1 7711d36246cc 000000000000 000000000000 |
205 1 69 6 2 bdf70a2b8d03 7711d36246cc 000000000000 |
205 1 2 bdf70a2b8d03 7711d36246cc 000000000000 |
206 2 75 71 3 b2558327ea8d 000000000000 000000000000 |
206 2 3 b2558327ea8d 000000000000 000000000000 |
207 should match |
207 should match |
208 $ hg debugindex foo |
208 $ hg debugindex foo |
209 rev offset length linkrev nodeid p1 p2 |
209 rev linkrev nodeid p1 p2 |
210 0 0 5 0 2ed2a3912a0b 000000000000 000000000000 |
210 0 0 2ed2a3912a0b 000000000000 000000000000 |
211 1 5 7 2 dd12c926cf16 2ed2a3912a0b 000000000000 |
211 1 2 dd12c926cf16 2ed2a3912a0b 000000000000 |
212 $ hg debugrename bar |
212 $ hg debugrename bar |
213 bar renamed from foo:dd12c926cf165e3eb4cf87b084955cb617221c17 |
213 bar renamed from foo:dd12c926cf165e3eb4cf87b084955cb617221c17 |
214 |
214 |
215 should show no copies |
215 should show no copies |
216 $ hg st -C |
216 $ hg st -C |