Mercurial > evolve
comparison tests/test-rewind.t @ 4899:c982e7fb5e7a stable
rewind: preserve date
author | Manuel Jacob <me@manueljacob.de> |
---|---|
date | Wed, 16 Oct 2019 18:12:53 +0200 |
parents | d8e36e60aea0 |
children | d299af4da8d8 900668a93629 |
comparison
equal
deleted
inserted
replaced
4898:9936aecc9ea3 | 4899:c982e7fb5e7a |
---|---|
162 rewinded to 1 changesets | 162 rewinded to 1 changesets |
163 $ hg debugobsolete | 163 $ hg debugobsolete |
164 7e594302a05d3769b27be88fc3cdfd39d7498498 0 {579f120ba91885449adc92eedf48ef3569742cee} (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '0', 'operation': 'prune', 'user': 'test'} | 164 7e594302a05d3769b27be88fc3cdfd39d7498498 0 {579f120ba91885449adc92eedf48ef3569742cee} (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '0', 'operation': 'prune', 'user': 'test'} |
165 7e594302a05d3769b27be88fc3cdfd39d7498498 073989a581cf430a844192364fa37606357cbbc2 4 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '2', 'operation': 'rewind', 'user': 'test'} | 165 7e594302a05d3769b27be88fc3cdfd39d7498498 073989a581cf430a844192364fa37606357cbbc2 4 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '2', 'operation': 'rewind', 'user': 'test'} |
166 073989a581cf430a844192364fa37606357cbbc2 0 {579f120ba91885449adc92eedf48ef3569742cee} (Thu Jan 01 00:00:01 1970 +0000) {'ef1': '0', 'operation': 'prune', 'user': 'test'} | 166 073989a581cf430a844192364fa37606357cbbc2 0 {579f120ba91885449adc92eedf48ef3569742cee} (Thu Jan 01 00:00:01 1970 +0000) {'ef1': '0', 'operation': 'prune', 'user': 'test'} |
167 7e594302a05d3769b27be88fc3cdfd39d7498498 48acf2c0d9c8961859ce9a913671eb2adc9b057b 4 (Thu Jan 01 00:00:01 1970 +0000) {'ef1': '34', 'operation': 'rewind', 'user': 'test'} | 167 7e594302a05d3769b27be88fc3cdfd39d7498498 b13b032065ef57a68d9a4cead38ba0f34f95529b 4 (Thu Jan 01 00:00:01 1970 +0000) {'ef1': '2', 'operation': 'rewind', 'user': 'test'} |
168 $ hg obslog -r 'desc("c_B0")' --all | 168 $ hg obslog -r 'desc("c_B0")' --all |
169 x 073989a581cf (3) c_B0 | 169 x 073989a581cf (3) c_B0 |
170 | pruned using prune by test (Thu Jan 01 00:00:01 1970 +0000) | 170 | pruned using prune by test (Thu Jan 01 00:00:01 1970 +0000) |
171 | | 171 | |
172 | o 48acf2c0d9c8 (4) c_B0 | 172 | o b13b032065ef (4) c_B0 |
173 |/ | 173 |/ |
174 x 7e594302a05d (2) c_B0 | 174 x 7e594302a05d (2) c_B0 |
175 pruned using prune by test (Thu Jan 01 00:00:00 1970 +0000) | 175 pruned using prune by test (Thu Jan 01 00:00:00 1970 +0000) |
176 rewritten(meta) as 073989a581cf using rewind by test (Thu Jan 01 00:00:00 1970 +0000) | 176 rewritten(meta) as 073989a581cf using rewind by test (Thu Jan 01 00:00:00 1970 +0000) |
177 rewritten(meta, date) as 48acf2c0d9c8 using rewind by test (Thu Jan 01 00:00:01 1970 +0000) | 177 rewritten(meta) as b13b032065ef using rewind by test (Thu Jan 01 00:00:01 1970 +0000) |
178 | 178 |
179 $ hg log -G | 179 $ hg log -G |
180 o changeset: 4:48acf2c0d9c8 | 180 o changeset: 4:b13b032065ef |
181 | tag: tip | 181 | tag: tip |
182 | parent: 1:579f120ba918 | 182 | parent: 1:579f120ba918 |
183 | user: test | 183 | user: test |
184 | date: Thu Jan 01 00:00:01 1970 +0000 | 184 | date: Thu Jan 01 00:00:00 1970 +0000 |
185 | summary: c_B0 | 185 | summary: c_B0 |
186 | | 186 | |
187 o changeset: 1:579f120ba918 | 187 o changeset: 1:579f120ba918 |
188 | user: test | 188 | user: test |
189 | date: Thu Jan 01 00:00:00 1970 +0000 | 189 | date: Thu Jan 01 00:00:00 1970 +0000 |
193 user: test | 193 user: test |
194 date: Thu Jan 01 00:00:00 1970 +0000 | 194 date: Thu Jan 01 00:00:00 1970 +0000 |
195 summary: c_ROOT | 195 summary: c_ROOT |
196 | 196 |
197 $ hg log -G --hidden | 197 $ hg log -G --hidden |
198 o changeset: 4:48acf2c0d9c8 | 198 o changeset: 4:b13b032065ef |
199 | tag: tip | 199 | tag: tip |
200 | parent: 1:579f120ba918 | 200 | parent: 1:579f120ba918 |
201 | user: test | 201 | user: test |
202 | date: Thu Jan 01 00:00:01 1970 +0000 | 202 | date: Thu Jan 01 00:00:00 1970 +0000 |
203 | summary: c_B0 | 203 | summary: c_B0 |
204 | | 204 | |
205 | x changeset: 3:073989a581cf | 205 | x changeset: 3:073989a581cf |
206 |/ parent: 1:579f120ba918 | 206 |/ parent: 1:579f120ba918 |
207 | user: test | 207 | user: test |
210 | summary: c_B0 | 210 | summary: c_B0 |
211 | | 211 | |
212 | x changeset: 2:7e594302a05d | 212 | x changeset: 2:7e594302a05d |
213 |/ user: test | 213 |/ user: test |
214 | date: Thu Jan 01 00:00:00 1970 +0000 | 214 | date: Thu Jan 01 00:00:00 1970 +0000 |
215 | obsolete: rewritten using rewind as 4:48acf2c0d9c8 | 215 | obsolete: meta-changed using rewind as 4:b13b032065ef |
216 | obsolete: meta-changed using rewind as 3:073989a581cf | 216 | obsolete: meta-changed using rewind as 3:073989a581cf |
217 | summary: c_B0 | 217 | summary: c_B0 |
218 | | 218 | |
219 o changeset: 1:579f120ba918 | 219 o changeset: 1:579f120ba918 |
220 | user: test | 220 | user: test |
265 $ hg rewind --hidden --to 'desc("c_B0")' --as-divergence | 265 $ hg rewind --hidden --to 'desc("c_B0")' --as-divergence |
266 2 new content-divergent changesets | 266 2 new content-divergent changesets |
267 rewinded to 1 changesets | 267 rewinded to 1 changesets |
268 $ hg debugobsolete | 268 $ hg debugobsolete |
269 7e594302a05d3769b27be88fc3cdfd39d7498498 25c8f5ab0c3bb569ec672570f1a901be4c6f032b 0 (Thu Jan 01 00:00:01 1970 +0000) {'ef1': '9', 'operation': 'amend', 'user': 'test'} | 269 7e594302a05d3769b27be88fc3cdfd39d7498498 25c8f5ab0c3bb569ec672570f1a901be4c6f032b 0 (Thu Jan 01 00:00:01 1970 +0000) {'ef1': '9', 'operation': 'amend', 'user': 'test'} |
270 7e594302a05d3769b27be88fc3cdfd39d7498498 48acf2c0d9c8961859ce9a913671eb2adc9b057b 4 (Thu Jan 01 00:00:01 1970 +0000) {'ef1': '34', 'operation': 'rewind', 'user': 'test'} | 270 7e594302a05d3769b27be88fc3cdfd39d7498498 b13b032065ef57a68d9a4cead38ba0f34f95529b 4 (Thu Jan 01 00:00:01 1970 +0000) {'ef1': '2', 'operation': 'rewind', 'user': 'test'} |
271 $ hg obslog --rev 'desc("c_B0")' | 271 $ hg obslog --rev 'desc("c_B0")' |
272 * 48acf2c0d9c8 (4) c_B0 | 272 * b13b032065ef (4) c_B0 |
273 | | 273 | |
274 x 7e594302a05d (2) c_B0 | 274 x 7e594302a05d (2) c_B0 |
275 rewritten(description, content) as 25c8f5ab0c3b using amend by test (Thu Jan 01 00:00:01 1970 +0000) | 275 rewritten(description, content) as 25c8f5ab0c3b using amend by test (Thu Jan 01 00:00:01 1970 +0000) |
276 rewritten(meta, date) as 48acf2c0d9c8 using rewind by test (Thu Jan 01 00:00:01 1970 +0000) | 276 rewritten(meta) as b13b032065ef using rewind by test (Thu Jan 01 00:00:01 1970 +0000) |
277 | 277 |
278 $ hg log -G | 278 $ hg log -G |
279 * changeset: 4:48acf2c0d9c8 | 279 * changeset: 4:b13b032065ef |
280 | tag: tip | 280 | tag: tip |
281 | parent: 1:579f120ba918 | 281 | parent: 1:579f120ba918 |
282 | user: test | 282 | user: test |
283 | date: Thu Jan 01 00:00:01 1970 +0000 | 283 | date: Thu Jan 01 00:00:00 1970 +0000 |
284 | instability: content-divergent | 284 | instability: content-divergent |
285 | summary: c_B0 | 285 | summary: c_B0 |
286 | | 286 | |
287 | @ changeset: 3:25c8f5ab0c3b | 287 | @ changeset: 3:25c8f5ab0c3b |
288 |/ parent: 1:579f120ba918 | 288 |/ parent: 1:579f120ba918 |
300 user: test | 300 user: test |
301 date: Thu Jan 01 00:00:00 1970 +0000 | 301 date: Thu Jan 01 00:00:00 1970 +0000 |
302 summary: c_ROOT | 302 summary: c_ROOT |
303 | 303 |
304 $ hg log -G --hidden | 304 $ hg log -G --hidden |
305 * changeset: 4:48acf2c0d9c8 | 305 * changeset: 4:b13b032065ef |
306 | tag: tip | 306 | tag: tip |
307 | parent: 1:579f120ba918 | 307 | parent: 1:579f120ba918 |
308 | user: test | 308 | user: test |
309 | date: Thu Jan 01 00:00:01 1970 +0000 | 309 | date: Thu Jan 01 00:00:00 1970 +0000 |
310 | instability: content-divergent | 310 | instability: content-divergent |
311 | summary: c_B0 | 311 | summary: c_B0 |
312 | | 312 | |
313 | @ changeset: 3:25c8f5ab0c3b | 313 | @ changeset: 3:25c8f5ab0c3b |
314 |/ parent: 1:579f120ba918 | 314 |/ parent: 1:579f120ba918 |
318 | summary: c_B1 | 318 | summary: c_B1 |
319 | | 319 | |
320 | x changeset: 2:7e594302a05d | 320 | x changeset: 2:7e594302a05d |
321 |/ user: test | 321 |/ user: test |
322 | date: Thu Jan 01 00:00:00 1970 +0000 | 322 | date: Thu Jan 01 00:00:00 1970 +0000 |
323 | obsolete: rewritten using rewind as 4:48acf2c0d9c8 | 323 | obsolete: meta-changed using rewind as 4:b13b032065ef |
324 | obsolete: rewritten using amend as 3:25c8f5ab0c3b | 324 | obsolete: rewritten using amend as 3:25c8f5ab0c3b |
325 | summary: c_B0 | 325 | summary: c_B0 |
326 | | 326 | |
327 o changeset: 1:579f120ba918 | 327 o changeset: 1:579f120ba918 |
328 | user: test | 328 | user: test |
363 ---------------------------------------------------------------- | 363 ---------------------------------------------------------------- |
364 | 364 |
365 $ hg rewind --hidden --to 'min(desc("c_B0"))' | 365 $ hg rewind --hidden --to 'min(desc("c_B0"))' |
366 rewinded to 1 changesets | 366 rewinded to 1 changesets |
367 (1 changesets obsoleted) | 367 (1 changesets obsoleted) |
368 working directory is now at d8b4471cfb3c | 368 working directory is now at 837cd997bb05 |
369 $ hg debugobsolete | 369 $ hg debugobsolete |
370 7e594302a05d3769b27be88fc3cdfd39d7498498 25c8f5ab0c3bb569ec672570f1a901be4c6f032b 0 (Thu Jan 01 00:00:01 1970 +0000) {'ef1': '9', 'operation': 'amend', 'user': 'test'} | 370 7e594302a05d3769b27be88fc3cdfd39d7498498 25c8f5ab0c3bb569ec672570f1a901be4c6f032b 0 (Thu Jan 01 00:00:01 1970 +0000) {'ef1': '9', 'operation': 'amend', 'user': 'test'} |
371 7e594302a05d3769b27be88fc3cdfd39d7498498 48acf2c0d9c8961859ce9a913671eb2adc9b057b 4 (Thu Jan 01 00:00:01 1970 +0000) {'ef1': '34', 'operation': 'rewind', 'user': 'test'} | 371 7e594302a05d3769b27be88fc3cdfd39d7498498 b13b032065ef57a68d9a4cead38ba0f34f95529b 4 (Thu Jan 01 00:00:01 1970 +0000) {'ef1': '2', 'operation': 'rewind', 'user': 'test'} |
372 48acf2c0d9c8961859ce9a913671eb2adc9b057b 0 {579f120ba91885449adc92eedf48ef3569742cee} (Thu Jan 01 00:00:01 1970 +0000) {'ef1': '0', 'operation': 'prune', 'user': 'test'} | 372 b13b032065ef57a68d9a4cead38ba0f34f95529b 0 {579f120ba91885449adc92eedf48ef3569742cee} (Thu Jan 01 00:00:01 1970 +0000) {'ef1': '0', 'operation': 'prune', 'user': 'test'} |
373 7e594302a05d3769b27be88fc3cdfd39d7498498 d8b4471cfb3caa290e0a78ae6bc57d78656c9075 4 (Thu Jan 01 00:00:02 1970 +0000) {'ef1': '34', 'operation': 'rewind', 'user': 'test'} | 373 7e594302a05d3769b27be88fc3cdfd39d7498498 837cd997bb05a27f8ed7d1ba3ff1e8422b9b464e 4 (Thu Jan 01 00:00:02 1970 +0000) {'ef1': '2', 'operation': 'rewind', 'user': 'test'} |
374 25c8f5ab0c3bb569ec672570f1a901be4c6f032b d8b4471cfb3caa290e0a78ae6bc57d78656c9075 0 (Thu Jan 01 00:00:02 1970 +0000) {'ef1': '43', 'operation': 'rewind', 'user': 'test'} | 374 25c8f5ab0c3bb569ec672570f1a901be4c6f032b 837cd997bb05a27f8ed7d1ba3ff1e8422b9b464e 0 (Thu Jan 01 00:00:02 1970 +0000) {'ef1': '11', 'operation': 'rewind', 'user': 'test'} |
375 $ hg obslog --rev 'desc("c_B0")' | 375 $ hg obslog --rev 'desc("c_B0")' |
376 @ d8b4471cfb3c (5) c_B0 | 376 @ 837cd997bb05 (5) c_B0 |
377 |\ | 377 |\ |
378 x | 25c8f5ab0c3b (3) c_B1 | 378 x | 25c8f5ab0c3b (3) c_B1 |
379 |/ rewritten(description, meta, date, content) as d8b4471cfb3c using rewind by test (Thu Jan 01 00:00:02 1970 +0000) | 379 |/ rewritten(description, meta, content) as 837cd997bb05 using rewind by test (Thu Jan 01 00:00:02 1970 +0000) |
380 | | 380 | |
381 x 7e594302a05d (2) c_B0 | 381 x 7e594302a05d (2) c_B0 |
382 rewritten(description, content) as 25c8f5ab0c3b using amend by test (Thu Jan 01 00:00:01 1970 +0000) | 382 rewritten(description, content) as 25c8f5ab0c3b using amend by test (Thu Jan 01 00:00:01 1970 +0000) |
383 rewritten(meta, date) as 48acf2c0d9c8 using rewind by test (Thu Jan 01 00:00:01 1970 +0000) | 383 rewritten(meta) as 837cd997bb05 using rewind by test (Thu Jan 01 00:00:02 1970 +0000) |
384 rewritten(meta, date) as d8b4471cfb3c using rewind by test (Thu Jan 01 00:00:02 1970 +0000) | 384 rewritten(meta) as b13b032065ef using rewind by test (Thu Jan 01 00:00:01 1970 +0000) |
385 | 385 |
386 $ hg log -G | 386 $ hg log -G |
387 @ changeset: 5:d8b4471cfb3c | 387 @ changeset: 5:837cd997bb05 |
388 | tag: tip | 388 | tag: tip |
389 | parent: 1:579f120ba918 | 389 | parent: 1:579f120ba918 |
390 | user: test | 390 | user: test |
391 | date: Thu Jan 01 00:00:02 1970 +0000 | 391 | date: Thu Jan 01 00:00:00 1970 +0000 |
392 | summary: c_B0 | 392 | summary: c_B0 |
393 | | 393 | |
394 o changeset: 1:579f120ba918 | 394 o changeset: 1:579f120ba918 |
395 | user: test | 395 | user: test |
396 | date: Thu Jan 01 00:00:00 1970 +0000 | 396 | date: Thu Jan 01 00:00:00 1970 +0000 |
400 user: test | 400 user: test |
401 date: Thu Jan 01 00:00:00 1970 +0000 | 401 date: Thu Jan 01 00:00:00 1970 +0000 |
402 summary: c_ROOT | 402 summary: c_ROOT |
403 | 403 |
404 $ hg log -G --hidden | 404 $ hg log -G --hidden |
405 @ changeset: 5:d8b4471cfb3c | 405 @ changeset: 5:837cd997bb05 |
406 | tag: tip | 406 | tag: tip |
407 | parent: 1:579f120ba918 | 407 | parent: 1:579f120ba918 |
408 | user: test | 408 | user: test |
409 | date: Thu Jan 01 00:00:02 1970 +0000 | 409 | date: Thu Jan 01 00:00:00 1970 +0000 |
410 | summary: c_B0 | 410 | summary: c_B0 |
411 | | 411 | |
412 | x changeset: 4:48acf2c0d9c8 | 412 | x changeset: 4:b13b032065ef |
413 |/ parent: 1:579f120ba918 | 413 |/ parent: 1:579f120ba918 |
414 | user: test | 414 | user: test |
415 | date: Thu Jan 01 00:00:01 1970 +0000 | 415 | date: Thu Jan 01 00:00:00 1970 +0000 |
416 | obsolete: pruned using prune | 416 | obsolete: pruned using prune |
417 | summary: c_B0 | 417 | summary: c_B0 |
418 | | 418 | |
419 | x changeset: 3:25c8f5ab0c3b | 419 | x changeset: 3:25c8f5ab0c3b |
420 |/ parent: 1:579f120ba918 | 420 |/ parent: 1:579f120ba918 |
421 | user: test | 421 | user: test |
422 | date: Thu Jan 01 00:00:00 1970 +0000 | 422 | date: Thu Jan 01 00:00:00 1970 +0000 |
423 | obsolete: rewritten using rewind as 5:d8b4471cfb3c | 423 | obsolete: rewritten using rewind as 5:837cd997bb05 |
424 | summary: c_B1 | 424 | summary: c_B1 |
425 | | 425 | |
426 | x changeset: 2:7e594302a05d | 426 | x changeset: 2:7e594302a05d |
427 |/ user: test | 427 |/ user: test |
428 | date: Thu Jan 01 00:00:00 1970 +0000 | 428 | date: Thu Jan 01 00:00:00 1970 +0000 |
429 | obsolete: rewritten using rewind as 5:d8b4471cfb3c | 429 | obsolete: meta-changed using rewind as 4:b13b032065ef |
430 | obsolete: rewritten using rewind as 4:48acf2c0d9c8 | 430 | obsolete: meta-changed using rewind as 5:837cd997bb05 |
431 | obsolete: rewritten using amend as 3:25c8f5ab0c3b | 431 | obsolete: rewritten using amend as 3:25c8f5ab0c3b |
432 | summary: c_B0 | 432 | summary: c_B0 |
433 | | 433 | |
434 o changeset: 1:579f120ba918 | 434 o changeset: 1:579f120ba918 |
435 | user: test | 435 | user: test |
586 ````````````` | 586 ````````````` |
587 | 587 |
588 $ hg rewind --to '9576e80d6851+a0316c4c5417' --hidden | 588 $ hg rewind --to '9576e80d6851+a0316c4c5417' --hidden |
589 rewinded to 2 changesets | 589 rewinded to 2 changesets |
590 (1 changesets obsoleted) | 590 (1 changesets obsoleted) |
591 working directory is now at 85be7b94f69e | 591 working directory is now at 95d72d892df7 |
592 $ hg debugobsolete | 592 $ hg debugobsolete |
593 49fb7d900906b0a3d329e90da4dcb0a7582d3b6e a0316c4c54179357e71d068fb8884678ebc7c351 9576e80d6851ce79cd535e2dc5fa01b444d89a39 0 (Thu Jan 01 00:00:02 1970 +0000) {'ef1': '12', 'operation': 'split', 'user': 'test'} | 593 49fb7d900906b0a3d329e90da4dcb0a7582d3b6e a0316c4c54179357e71d068fb8884678ebc7c351 9576e80d6851ce79cd535e2dc5fa01b444d89a39 0 (Thu Jan 01 00:00:02 1970 +0000) {'ef1': '12', 'operation': 'split', 'user': 'test'} |
594 49fb7d900906b0a3d329e90da4dcb0a7582d3b6e 4535d0af405c1bf35f37b35f26ec6f9acfa6fe0b 4 (Thu Jan 01 00:00:02 1970 +0000) {'ef1': '2', 'operation': 'rewind', 'user': 'test'} | 594 49fb7d900906b0a3d329e90da4dcb0a7582d3b6e 4535d0af405c1bf35f37b35f26ec6f9acfa6fe0b 4 (Thu Jan 01 00:00:02 1970 +0000) {'ef1': '2', 'operation': 'rewind', 'user': 'test'} |
595 9576e80d6851ce79cd535e2dc5fa01b444d89a39 4535d0af405c1bf35f37b35f26ec6f9acfa6fe0b 0 (Thu Jan 01 00:00:02 1970 +0000) {'ef1': '14', 'operation': 'rewind', 'user': 'test'} | 595 9576e80d6851ce79cd535e2dc5fa01b444d89a39 4535d0af405c1bf35f37b35f26ec6f9acfa6fe0b 0 (Thu Jan 01 00:00:02 1970 +0000) {'ef1': '14', 'operation': 'rewind', 'user': 'test'} |
596 a0316c4c54179357e71d068fb8884678ebc7c351 4535d0af405c1bf35f37b35f26ec6f9acfa6fe0b 0 (Thu Jan 01 00:00:02 1970 +0000) {'ef1': '10', 'operation': 'rewind', 'user': 'test'} | 596 a0316c4c54179357e71d068fb8884678ebc7c351 4535d0af405c1bf35f37b35f26ec6f9acfa6fe0b 0 (Thu Jan 01 00:00:02 1970 +0000) {'ef1': '10', 'operation': 'rewind', 'user': 'test'} |
597 a0316c4c54179357e71d068fb8884678ebc7c351 73a1ac2e570de1f33bbea7d8260b00d5af1d30a7 4 (Thu Jan 01 00:00:03 1970 +0000) {'ef1': '34', 'operation': 'rewind', 'user': 'test'} | 597 a0316c4c54179357e71d068fb8884678ebc7c351 e76375de0bfc9c59bdd91067c901f3eed7d6c8fe 4 (Thu Jan 01 00:00:03 1970 +0000) {'ef1': '2', 'operation': 'rewind', 'user': 'test'} |
598 9576e80d6851ce79cd535e2dc5fa01b444d89a39 85be7b94f69e936d6f0fc52118211da82fe4e838 4 (Thu Jan 01 00:00:03 1970 +0000) {'ef1': '38', 'operation': 'rewind', 'user': 'test'} | 598 9576e80d6851ce79cd535e2dc5fa01b444d89a39 95d72d892df7fec59107e10914c5729bdf03665f 4 (Thu Jan 01 00:00:03 1970 +0000) {'ef1': '6', 'operation': 'rewind', 'user': 'test'} |
599 4535d0af405c1bf35f37b35f26ec6f9acfa6fe0b 73a1ac2e570de1f33bbea7d8260b00d5af1d30a7 85be7b94f69e936d6f0fc52118211da82fe4e838 0 (Thu Jan 01 00:00:03 1970 +0000) {'ef1': '46', 'operation': 'rewind', 'user': 'test'} | 599 4535d0af405c1bf35f37b35f26ec6f9acfa6fe0b e76375de0bfc9c59bdd91067c901f3eed7d6c8fe 95d72d892df7fec59107e10914c5729bdf03665f 0 (Thu Jan 01 00:00:03 1970 +0000) {'ef1': '14', 'operation': 'rewind', 'user': 'test'} |
600 $ hg obslog -r -2: | 600 $ hg obslog -r -2: |
601 o 73a1ac2e570d (7) c_CD0 | 601 @ 95d72d892df7 (8) c_CD0 |
602 |\ | 602 |\ |
603 +---@ 85be7b94f69e (8) c_CD0 | 603 +---o e76375de0bfc (7) c_CD0 |
604 | | | | 604 | | | |
605 x---+ 4535d0af405c (6) c_CD0 | 605 x---+ 4535d0af405c (6) c_CD0 |
606 |\| | rewritten(meta, date, parent, content) as 73a1ac2e570d, 85be7b94f69e using rewind by test (Thu Jan 01 00:00:03 1970 +0000) | 606 |\| | rewritten(meta, parent, content) as 95d72d892df7, e76375de0bfc using rewind by test (Thu Jan 01 00:00:03 1970 +0000) |
607 | | | | 607 | | | |
608 +---x 9576e80d6851 (5) c_CD0 | 608 | x | 9576e80d6851 (5) c_CD0 |
609 | | rewritten(meta, parent, content) as 4535d0af405c using rewind by test (Thu Jan 01 00:00:02 1970 +0000) | 609 |/ / rewritten(meta, parent, content) as 4535d0af405c using rewind by test (Thu Jan 01 00:00:02 1970 +0000) |
610 | | rewritten(meta, date, parent) as 85be7b94f69e using rewind by test (Thu Jan 01 00:00:03 1970 +0000) | 610 | | rewritten(meta, parent) as 95d72d892df7 using rewind by test (Thu Jan 01 00:00:03 1970 +0000) |
611 | | | 611 | | |
612 | x a0316c4c5417 (4) c_CD0 | 612 | x a0316c4c5417 (4) c_CD0 |
613 |/ rewritten(meta, content) as 4535d0af405c using rewind by test (Thu Jan 01 00:00:02 1970 +0000) | 613 |/ rewritten(meta, content) as 4535d0af405c using rewind by test (Thu Jan 01 00:00:02 1970 +0000) |
614 | rewritten(meta, date) as 73a1ac2e570d using rewind by test (Thu Jan 01 00:00:03 1970 +0000) | 614 | rewritten(meta) as e76375de0bfc using rewind by test (Thu Jan 01 00:00:03 1970 +0000) |
615 | | 615 | |
616 x 49fb7d900906 (3) c_CD0 | 616 x 49fb7d900906 (3) c_CD0 |
617 rewritten(meta) as 4535d0af405c using rewind by test (Thu Jan 01 00:00:02 1970 +0000) | 617 rewritten(meta) as 4535d0af405c using rewind by test (Thu Jan 01 00:00:02 1970 +0000) |
618 rewritten(parent, content) as 9576e80d6851, a0316c4c5417 using split by test (Thu Jan 01 00:00:02 1970 +0000) | 618 rewritten(parent, content) as 9576e80d6851, a0316c4c5417 using split by test (Thu Jan 01 00:00:02 1970 +0000) |
619 | 619 |
620 $ hg log -G | 620 $ hg log -G |
621 @ changeset: 8:85be7b94f69e | 621 @ changeset: 8:95d72d892df7 |
622 | tag: tip | 622 | tag: tip |
623 | user: test | 623 | user: test |
624 | date: Thu Jan 01 00:00:03 1970 +0000 | 624 | date: Thu Jan 01 00:00:02 1970 +0000 |
625 | summary: c_CD0 | 625 | summary: c_CD0 |
626 | | 626 | |
627 o changeset: 7:73a1ac2e570d | 627 o changeset: 7:e76375de0bfc |
628 | parent: 2:7e594302a05d | 628 | parent: 2:7e594302a05d |
629 | user: test | 629 | user: test |
630 | date: Thu Jan 01 00:00:03 1970 +0000 | 630 | date: Thu Jan 01 00:00:02 1970 +0000 |
631 | summary: c_CD0 | 631 | summary: c_CD0 |
632 | | 632 | |
633 o changeset: 2:7e594302a05d | 633 o changeset: 2:7e594302a05d |
634 | user: test | 634 | user: test |
635 | date: Thu Jan 01 00:00:00 1970 +0000 | 635 | date: Thu Jan 01 00:00:00 1970 +0000 |
708 | 708 |
709 $ hg rewind --hidden --to 'min(desc(c_B0))' --exact | 709 $ hg rewind --hidden --to 'min(desc(c_B0))' --exact |
710 1 new orphan changesets | 710 1 new orphan changesets |
711 rewinded to 1 changesets | 711 rewinded to 1 changesets |
712 (1 changesets obsoleted) | 712 (1 changesets obsoleted) |
713 working directory is now at 96622b0702dd | 713 working directory is now at ac979e0aac4e |
714 $ hg debugobsolete | 714 $ hg debugobsolete |
715 579f120ba91885449adc92eedf48ef3569742cee d952d1794ff657f5c2a82225d2e6307ed930b32f 0 (Thu Jan 01 00:00:03 1970 +0000) {'ef1': '9', 'operation': 'amend', 'user': 'test'} | 715 579f120ba91885449adc92eedf48ef3569742cee d952d1794ff657f5c2a82225d2e6307ed930b32f 0 (Thu Jan 01 00:00:03 1970 +0000) {'ef1': '9', 'operation': 'amend', 'user': 'test'} |
716 7e594302a05d3769b27be88fc3cdfd39d7498498 a65fceb2324ae1eb1231610193d24a5fa02c7c0e 0 (Thu Jan 01 00:00:03 1970 +0000) {'ef1': '4', 'operation': 'evolve', 'user': 'test'} | 716 7e594302a05d3769b27be88fc3cdfd39d7498498 a65fceb2324ae1eb1231610193d24a5fa02c7c0e 0 (Thu Jan 01 00:00:03 1970 +0000) {'ef1': '4', 'operation': 'evolve', 'user': 'test'} |
717 7e594302a05d3769b27be88fc3cdfd39d7498498 96622b0702dd86e3a702b0235b420da41f072efe 4 (Thu Jan 01 00:00:03 1970 +0000) {'ef1': '34', 'operation': 'rewind', 'user': 'test'} | 717 7e594302a05d3769b27be88fc3cdfd39d7498498 ac979e0aac4e63ccbbf88ac33942192942302766 4 (Thu Jan 01 00:00:03 1970 +0000) {'ef1': '2', 'operation': 'rewind', 'user': 'test'} |
718 a65fceb2324ae1eb1231610193d24a5fa02c7c0e 96622b0702dd86e3a702b0235b420da41f072efe 0 (Thu Jan 01 00:00:03 1970 +0000) {'ef1': '38', 'operation': 'rewind', 'user': 'test'} | 718 a65fceb2324ae1eb1231610193d24a5fa02c7c0e ac979e0aac4e63ccbbf88ac33942192942302766 0 (Thu Jan 01 00:00:03 1970 +0000) {'ef1': '6', 'operation': 'rewind', 'user': 'test'} |
719 $ hg obslog | 719 $ hg obslog |
720 @ 96622b0702dd (5) c_B0 | 720 @ ac979e0aac4e (5) c_B0 |
721 |\ | 721 |\ |
722 | x a65fceb2324a (4) c_B0 | 722 | x a65fceb2324a (4) c_B0 |
723 |/ rewritten(meta, date, parent) as 96622b0702dd using rewind by test (Thu Jan 01 00:00:03 1970 +0000) | 723 |/ rewritten(meta, parent) as ac979e0aac4e using rewind by test (Thu Jan 01 00:00:03 1970 +0000) |
724 | | 724 | |
725 x 7e594302a05d (2) c_B0 | 725 x 7e594302a05d (2) c_B0 |
726 rewritten(meta, date) as 96622b0702dd using rewind by test (Thu Jan 01 00:00:03 1970 +0000) | |
727 rewritten(parent) as a65fceb2324a using evolve by test (Thu Jan 01 00:00:03 1970 +0000) | 726 rewritten(parent) as a65fceb2324a using evolve by test (Thu Jan 01 00:00:03 1970 +0000) |
728 | 727 rewritten(meta) as ac979e0aac4e using rewind by test (Thu Jan 01 00:00:03 1970 +0000) |
729 $ hg log -G | 728 |
730 @ changeset: 5:96622b0702dd | 729 $ hg log -G |
730 @ changeset: 5:ac979e0aac4e | |
731 | tag: tip | 731 | tag: tip |
732 | parent: 1:579f120ba918 | 732 | parent: 1:579f120ba918 |
733 | user: test | 733 | user: test |
734 | date: Thu Jan 01 00:00:03 1970 +0000 | 734 | date: Thu Jan 01 00:00:00 1970 +0000 |
735 | instability: orphan | 735 | instability: orphan |
736 | summary: c_B0 | 736 | summary: c_B0 |
737 | | 737 | |
738 | o changeset: 3:d952d1794ff6 | 738 | o changeset: 3:d952d1794ff6 |
739 | | parent: 0:eba9c2249fe7 | 739 | | parent: 0:eba9c2249fe7 |
760 | 760 |
761 $ echo 'default-date = 4 0' >> $HGRCPATH | 761 $ echo 'default-date = 4 0' >> $HGRCPATH |
762 $ hg rewind --from '.' | 762 $ hg rewind --from '.' |
763 rewinded to 1 changesets | 763 rewinded to 1 changesets |
764 (1 changesets obsoleted) | 764 (1 changesets obsoleted) |
765 working directory is now at 7b1440274cc3 | 765 working directory is now at a5dd64adbb2a |
766 $ echo 'default-date = 5 0' >> $HGRCPATH | 766 $ echo 'default-date = 5 0' >> $HGRCPATH |
767 $ hg log -G | 767 $ hg log -G |
768 @ changeset: 6:7b1440274cc3 | 768 @ changeset: 6:a5dd64adbb2a |
769 | tag: tip | 769 | tag: tip |
770 | parent: 3:d952d1794ff6 | 770 | parent: 3:d952d1794ff6 |
771 | user: test | 771 | user: test |
772 | date: Thu Jan 01 00:00:04 1970 +0000 | 772 | date: Thu Jan 01 00:00:00 1970 +0000 |
773 | summary: c_B0 | 773 | summary: c_B0 |
774 | | 774 | |
775 o changeset: 3:d952d1794ff6 | 775 o changeset: 3:d952d1794ff6 |
776 | parent: 0:eba9c2249fe7 | 776 | parent: 0:eba9c2249fe7 |
777 | user: test | 777 | user: test |
784 summary: c_ROOT | 784 summary: c_ROOT |
785 | 785 |
786 $ hg debugobsolete | 786 $ hg debugobsolete |
787 579f120ba91885449adc92eedf48ef3569742cee d952d1794ff657f5c2a82225d2e6307ed930b32f 0 (Thu Jan 01 00:00:03 1970 +0000) {'ef1': '9', 'operation': 'amend', 'user': 'test'} | 787 579f120ba91885449adc92eedf48ef3569742cee d952d1794ff657f5c2a82225d2e6307ed930b32f 0 (Thu Jan 01 00:00:03 1970 +0000) {'ef1': '9', 'operation': 'amend', 'user': 'test'} |
788 7e594302a05d3769b27be88fc3cdfd39d7498498 a65fceb2324ae1eb1231610193d24a5fa02c7c0e 0 (Thu Jan 01 00:00:03 1970 +0000) {'ef1': '4', 'operation': 'evolve', 'user': 'test'} | 788 7e594302a05d3769b27be88fc3cdfd39d7498498 a65fceb2324ae1eb1231610193d24a5fa02c7c0e 0 (Thu Jan 01 00:00:03 1970 +0000) {'ef1': '4', 'operation': 'evolve', 'user': 'test'} |
789 7e594302a05d3769b27be88fc3cdfd39d7498498 96622b0702dd86e3a702b0235b420da41f072efe 4 (Thu Jan 01 00:00:03 1970 +0000) {'ef1': '34', 'operation': 'rewind', 'user': 'test'} | 789 7e594302a05d3769b27be88fc3cdfd39d7498498 ac979e0aac4e63ccbbf88ac33942192942302766 4 (Thu Jan 01 00:00:03 1970 +0000) {'ef1': '2', 'operation': 'rewind', 'user': 'test'} |
790 a65fceb2324ae1eb1231610193d24a5fa02c7c0e 96622b0702dd86e3a702b0235b420da41f072efe 0 (Thu Jan 01 00:00:03 1970 +0000) {'ef1': '38', 'operation': 'rewind', 'user': 'test'} | 790 a65fceb2324ae1eb1231610193d24a5fa02c7c0e ac979e0aac4e63ccbbf88ac33942192942302766 0 (Thu Jan 01 00:00:03 1970 +0000) {'ef1': '6', 'operation': 'rewind', 'user': 'test'} |
791 a65fceb2324ae1eb1231610193d24a5fa02c7c0e 7b1440274cc3b3f8bfcffc891172a7d2d7e9140c 4 (Thu Jan 01 00:00:04 1970 +0000) {'ef1': '34', 'operation': 'rewind', 'user': 'test'} | 791 a65fceb2324ae1eb1231610193d24a5fa02c7c0e a5dd64adbb2af2e646859b35d0d7128daa73cb2b 4 (Thu Jan 01 00:00:04 1970 +0000) {'ef1': '2', 'operation': 'rewind', 'user': 'test'} |
792 96622b0702dd86e3a702b0235b420da41f072efe 7b1440274cc3b3f8bfcffc891172a7d2d7e9140c 0 (Thu Jan 01 00:00:04 1970 +0000) {'ef1': '38', 'operation': 'rewind', 'user': 'test'} | 792 ac979e0aac4e63ccbbf88ac33942192942302766 a5dd64adbb2af2e646859b35d0d7128daa73cb2b 0 (Thu Jan 01 00:00:04 1970 +0000) {'ef1': '6', 'operation': 'rewind', 'user': 'test'} |
793 $ hg obslog | 793 $ hg obslog |
794 @ 7b1440274cc3 (6) c_B0 | 794 @ a5dd64adbb2a (6) c_B0 |
795 |\ | 795 |\ |
796 x | 96622b0702dd (5) c_B0 | 796 | x ac979e0aac4e (5) c_B0 |
797 |\| rewritten(meta, date, parent) as 7b1440274cc3 using rewind by test (Thu Jan 01 00:00:04 1970 +0000) | 797 |/| rewritten(meta, parent) as a5dd64adbb2a using rewind by test (Thu Jan 01 00:00:04 1970 +0000) |
798 | | | 798 | | |
799 | x a65fceb2324a (4) c_B0 | 799 x | a65fceb2324a (4) c_B0 |
800 |/ rewritten(meta, date) as 7b1440274cc3 using rewind by test (Thu Jan 01 00:00:04 1970 +0000) | 800 |/ rewritten(meta) as a5dd64adbb2a using rewind by test (Thu Jan 01 00:00:04 1970 +0000) |
801 | rewritten(meta, date, parent) as 96622b0702dd using rewind by test (Thu Jan 01 00:00:03 1970 +0000) | 801 | rewritten(meta, parent) as ac979e0aac4e using rewind by test (Thu Jan 01 00:00:03 1970 +0000) |
802 | | 802 | |
803 x 7e594302a05d (2) c_B0 | 803 x 7e594302a05d (2) c_B0 |
804 rewritten(meta, date) as 96622b0702dd using rewind by test (Thu Jan 01 00:00:03 1970 +0000) | |
805 rewritten(parent) as a65fceb2324a using evolve by test (Thu Jan 01 00:00:03 1970 +0000) | 804 rewritten(parent) as a65fceb2324a using evolve by test (Thu Jan 01 00:00:03 1970 +0000) |
805 rewritten(meta) as ac979e0aac4e using rewind by test (Thu Jan 01 00:00:03 1970 +0000) | |
806 | 806 |
807 Automatically rewinding the full stack (with --to) | 807 Automatically rewinding the full stack (with --to) |
808 -------------------------------------------------- | 808 -------------------------------------------------- |
809 | 809 |
810 $ hg rewind --hidden --to 'predecessors(.)' | 810 $ hg rewind --hidden --to 'predecessors(.)' |
811 rewinded to 2 changesets | 811 rewinded to 2 changesets |
812 (2 changesets obsoleted) | 812 (2 changesets obsoleted) |
813 working directory is now at 70892f498f29 | 813 working directory is now at 3f2d8862657d |
814 $ hg debugobsolete | 814 $ hg debugobsolete |
815 579f120ba91885449adc92eedf48ef3569742cee d952d1794ff657f5c2a82225d2e6307ed930b32f 0 (Thu Jan 01 00:00:03 1970 +0000) {'ef1': '9', 'operation': 'amend', 'user': 'test'} | 815 579f120ba91885449adc92eedf48ef3569742cee d952d1794ff657f5c2a82225d2e6307ed930b32f 0 (Thu Jan 01 00:00:03 1970 +0000) {'ef1': '9', 'operation': 'amend', 'user': 'test'} |
816 7e594302a05d3769b27be88fc3cdfd39d7498498 a65fceb2324ae1eb1231610193d24a5fa02c7c0e 0 (Thu Jan 01 00:00:03 1970 +0000) {'ef1': '4', 'operation': 'evolve', 'user': 'test'} | 816 7e594302a05d3769b27be88fc3cdfd39d7498498 a65fceb2324ae1eb1231610193d24a5fa02c7c0e 0 (Thu Jan 01 00:00:03 1970 +0000) {'ef1': '4', 'operation': 'evolve', 'user': 'test'} |
817 7e594302a05d3769b27be88fc3cdfd39d7498498 96622b0702dd86e3a702b0235b420da41f072efe 4 (Thu Jan 01 00:00:03 1970 +0000) {'ef1': '34', 'operation': 'rewind', 'user': 'test'} | 817 7e594302a05d3769b27be88fc3cdfd39d7498498 ac979e0aac4e63ccbbf88ac33942192942302766 4 (Thu Jan 01 00:00:03 1970 +0000) {'ef1': '2', 'operation': 'rewind', 'user': 'test'} |
818 a65fceb2324ae1eb1231610193d24a5fa02c7c0e 96622b0702dd86e3a702b0235b420da41f072efe 0 (Thu Jan 01 00:00:03 1970 +0000) {'ef1': '38', 'operation': 'rewind', 'user': 'test'} | 818 a65fceb2324ae1eb1231610193d24a5fa02c7c0e ac979e0aac4e63ccbbf88ac33942192942302766 0 (Thu Jan 01 00:00:03 1970 +0000) {'ef1': '6', 'operation': 'rewind', 'user': 'test'} |
819 a65fceb2324ae1eb1231610193d24a5fa02c7c0e 7b1440274cc3b3f8bfcffc891172a7d2d7e9140c 4 (Thu Jan 01 00:00:04 1970 +0000) {'ef1': '34', 'operation': 'rewind', 'user': 'test'} | 819 a65fceb2324ae1eb1231610193d24a5fa02c7c0e a5dd64adbb2af2e646859b35d0d7128daa73cb2b 4 (Thu Jan 01 00:00:04 1970 +0000) {'ef1': '2', 'operation': 'rewind', 'user': 'test'} |
820 96622b0702dd86e3a702b0235b420da41f072efe 7b1440274cc3b3f8bfcffc891172a7d2d7e9140c 0 (Thu Jan 01 00:00:04 1970 +0000) {'ef1': '38', 'operation': 'rewind', 'user': 'test'} | 820 ac979e0aac4e63ccbbf88ac33942192942302766 a5dd64adbb2af2e646859b35d0d7128daa73cb2b 0 (Thu Jan 01 00:00:04 1970 +0000) {'ef1': '6', 'operation': 'rewind', 'user': 'test'} |
821 579f120ba91885449adc92eedf48ef3569742cee c0d232501dd8e52b8ca8a266f25db89f5120c17f 4 (Thu Jan 01 00:00:05 1970 +0000) {'ef1': '34', 'operation': 'rewind', 'user': 'test'} | 821 579f120ba91885449adc92eedf48ef3569742cee 9c28b7ed3951fd15b20ab75449c1e0fdec445958 4 (Thu Jan 01 00:00:05 1970 +0000) {'ef1': '2', 'operation': 'rewind', 'user': 'test'} |
822 96622b0702dd86e3a702b0235b420da41f072efe 70892f498f2993d626848bb312ff856168d0b9c4 4 (Thu Jan 01 00:00:05 1970 +0000) {'ef1': '38', 'operation': 'rewind', 'user': 'test'} | 822 ac979e0aac4e63ccbbf88ac33942192942302766 3f2d8862657d20af331f0c0531f5228eef4d36c5 4 (Thu Jan 01 00:00:05 1970 +0000) {'ef1': '6', 'operation': 'rewind', 'user': 'test'} |
823 7b1440274cc3b3f8bfcffc891172a7d2d7e9140c 70892f498f2993d626848bb312ff856168d0b9c4 0 (Thu Jan 01 00:00:05 1970 +0000) {'ef1': '38', 'operation': 'rewind', 'user': 'test'} | 823 a5dd64adbb2af2e646859b35d0d7128daa73cb2b 3f2d8862657d20af331f0c0531f5228eef4d36c5 0 (Thu Jan 01 00:00:05 1970 +0000) {'ef1': '6', 'operation': 'rewind', 'user': 'test'} |
824 d952d1794ff657f5c2a82225d2e6307ed930b32f c0d232501dd8e52b8ca8a266f25db89f5120c17f 0 (Thu Jan 01 00:00:05 1970 +0000) {'ef1': '43', 'operation': 'rewind', 'user': 'test'} | 824 d952d1794ff657f5c2a82225d2e6307ed930b32f 9c28b7ed3951fd15b20ab75449c1e0fdec445958 0 (Thu Jan 01 00:00:05 1970 +0000) {'ef1': '11', 'operation': 'rewind', 'user': 'test'} |
825 $ hg obslog | 825 $ hg obslog |
826 @ 70892f498f29 (8) c_B0 | 826 @ 3f2d8862657d (8) c_B0 |
827 |\ | 827 |\ |
828 x | 7b1440274cc3 (6) c_B0 | 828 x | a5dd64adbb2a (6) c_B0 |
829 |\| rewritten(meta, date, parent) as 70892f498f29 using rewind by test (Thu Jan 01 00:00:05 1970 +0000) | 829 |\| rewritten(meta, parent) as 3f2d8862657d using rewind by test (Thu Jan 01 00:00:05 1970 +0000) |
830 | | | 830 | | |
831 | x 96622b0702dd (5) c_B0 | 831 | x ac979e0aac4e (5) c_B0 |
832 |/| rewritten(meta, date, parent) as 70892f498f29 using rewind by test (Thu Jan 01 00:00:05 1970 +0000) | 832 |/| rewritten(meta, parent) as 3f2d8862657d using rewind by test (Thu Jan 01 00:00:05 1970 +0000) |
833 | | rewritten(meta, date, parent) as 7b1440274cc3 using rewind by test (Thu Jan 01 00:00:04 1970 +0000) | 833 | | rewritten(meta, parent) as a5dd64adbb2a using rewind by test (Thu Jan 01 00:00:04 1970 +0000) |
834 | | | 834 | | |
835 x | a65fceb2324a (4) c_B0 | 835 x | a65fceb2324a (4) c_B0 |
836 |/ rewritten(meta, date) as 7b1440274cc3 using rewind by test (Thu Jan 01 00:00:04 1970 +0000) | 836 |/ rewritten(meta) as a5dd64adbb2a using rewind by test (Thu Jan 01 00:00:04 1970 +0000) |
837 | rewritten(meta, date, parent) as 96622b0702dd using rewind by test (Thu Jan 01 00:00:03 1970 +0000) | 837 | rewritten(meta, parent) as ac979e0aac4e using rewind by test (Thu Jan 01 00:00:03 1970 +0000) |
838 | | 838 | |
839 x 7e594302a05d (2) c_B0 | 839 x 7e594302a05d (2) c_B0 |
840 rewritten(meta, date) as 96622b0702dd using rewind by test (Thu Jan 01 00:00:03 1970 +0000) | |
841 rewritten(parent) as a65fceb2324a using evolve by test (Thu Jan 01 00:00:03 1970 +0000) | 840 rewritten(parent) as a65fceb2324a using evolve by test (Thu Jan 01 00:00:03 1970 +0000) |
842 | 841 rewritten(meta) as ac979e0aac4e using rewind by test (Thu Jan 01 00:00:03 1970 +0000) |
843 $ hg log -G | 842 |
844 @ changeset: 8:70892f498f29 | 843 $ hg log -G |
845 | tag: tip | 844 @ changeset: 8:3f2d8862657d |
846 | user: test | 845 | tag: tip |
847 | date: Thu Jan 01 00:00:05 1970 +0000 | 846 | user: test |
848 | summary: c_B0 | 847 | date: Thu Jan 01 00:00:00 1970 +0000 |
849 | | 848 | summary: c_B0 |
850 o changeset: 7:c0d232501dd8 | 849 | |
850 o changeset: 7:9c28b7ed3951 | |
851 | parent: 0:eba9c2249fe7 | 851 | parent: 0:eba9c2249fe7 |
852 | user: test | 852 | user: test |
853 | date: Thu Jan 01 00:00:05 1970 +0000 | 853 | date: Thu Jan 01 00:00:00 1970 +0000 |
854 | summary: c_A0 | 854 | summary: c_A0 |
855 | | 855 | |
856 o changeset: 0:eba9c2249fe7 | 856 o changeset: 0:eba9c2249fe7 |
857 user: test | 857 user: test |
858 date: Thu Jan 01 00:00:00 1970 +0000 | 858 date: Thu Jan 01 00:00:00 1970 +0000 |
864 | 864 |
865 $ echo 'default-date = 6 0' >> $HGRCPATH | 865 $ echo 'default-date = 6 0' >> $HGRCPATH |
866 $ hg rewind --hidden --from '.' | 866 $ hg rewind --hidden --from '.' |
867 rewinded to 2 changesets | 867 rewinded to 2 changesets |
868 (2 changesets obsoleted) | 868 (2 changesets obsoleted) |
869 working directory is now at 141aedbbde8f | 869 working directory is now at d36d6d267714 |
870 $ hg debugobsolete | 870 $ hg debugobsolete |
871 579f120ba91885449adc92eedf48ef3569742cee d952d1794ff657f5c2a82225d2e6307ed930b32f 0 (Thu Jan 01 00:00:03 1970 +0000) {'ef1': '9', 'operation': 'amend', 'user': 'test'} | 871 579f120ba91885449adc92eedf48ef3569742cee d952d1794ff657f5c2a82225d2e6307ed930b32f 0 (Thu Jan 01 00:00:03 1970 +0000) {'ef1': '9', 'operation': 'amend', 'user': 'test'} |
872 7e594302a05d3769b27be88fc3cdfd39d7498498 a65fceb2324ae1eb1231610193d24a5fa02c7c0e 0 (Thu Jan 01 00:00:03 1970 +0000) {'ef1': '4', 'operation': 'evolve', 'user': 'test'} | 872 7e594302a05d3769b27be88fc3cdfd39d7498498 a65fceb2324ae1eb1231610193d24a5fa02c7c0e 0 (Thu Jan 01 00:00:03 1970 +0000) {'ef1': '4', 'operation': 'evolve', 'user': 'test'} |
873 7e594302a05d3769b27be88fc3cdfd39d7498498 96622b0702dd86e3a702b0235b420da41f072efe 4 (Thu Jan 01 00:00:03 1970 +0000) {'ef1': '34', 'operation': 'rewind', 'user': 'test'} | 873 7e594302a05d3769b27be88fc3cdfd39d7498498 ac979e0aac4e63ccbbf88ac33942192942302766 4 (Thu Jan 01 00:00:03 1970 +0000) {'ef1': '2', 'operation': 'rewind', 'user': 'test'} |
874 a65fceb2324ae1eb1231610193d24a5fa02c7c0e 96622b0702dd86e3a702b0235b420da41f072efe 0 (Thu Jan 01 00:00:03 1970 +0000) {'ef1': '38', 'operation': 'rewind', 'user': 'test'} | 874 a65fceb2324ae1eb1231610193d24a5fa02c7c0e ac979e0aac4e63ccbbf88ac33942192942302766 0 (Thu Jan 01 00:00:03 1970 +0000) {'ef1': '6', 'operation': 'rewind', 'user': 'test'} |
875 a65fceb2324ae1eb1231610193d24a5fa02c7c0e 7b1440274cc3b3f8bfcffc891172a7d2d7e9140c 4 (Thu Jan 01 00:00:04 1970 +0000) {'ef1': '34', 'operation': 'rewind', 'user': 'test'} | 875 a65fceb2324ae1eb1231610193d24a5fa02c7c0e a5dd64adbb2af2e646859b35d0d7128daa73cb2b 4 (Thu Jan 01 00:00:04 1970 +0000) {'ef1': '2', 'operation': 'rewind', 'user': 'test'} |
876 96622b0702dd86e3a702b0235b420da41f072efe 7b1440274cc3b3f8bfcffc891172a7d2d7e9140c 0 (Thu Jan 01 00:00:04 1970 +0000) {'ef1': '38', 'operation': 'rewind', 'user': 'test'} | 876 ac979e0aac4e63ccbbf88ac33942192942302766 a5dd64adbb2af2e646859b35d0d7128daa73cb2b 0 (Thu Jan 01 00:00:04 1970 +0000) {'ef1': '6', 'operation': 'rewind', 'user': 'test'} |
877 579f120ba91885449adc92eedf48ef3569742cee c0d232501dd8e52b8ca8a266f25db89f5120c17f 4 (Thu Jan 01 00:00:05 1970 +0000) {'ef1': '34', 'operation': 'rewind', 'user': 'test'} | 877 579f120ba91885449adc92eedf48ef3569742cee 9c28b7ed3951fd15b20ab75449c1e0fdec445958 4 (Thu Jan 01 00:00:05 1970 +0000) {'ef1': '2', 'operation': 'rewind', 'user': 'test'} |
878 96622b0702dd86e3a702b0235b420da41f072efe 70892f498f2993d626848bb312ff856168d0b9c4 4 (Thu Jan 01 00:00:05 1970 +0000) {'ef1': '38', 'operation': 'rewind', 'user': 'test'} | 878 ac979e0aac4e63ccbbf88ac33942192942302766 3f2d8862657d20af331f0c0531f5228eef4d36c5 4 (Thu Jan 01 00:00:05 1970 +0000) {'ef1': '6', 'operation': 'rewind', 'user': 'test'} |
879 7b1440274cc3b3f8bfcffc891172a7d2d7e9140c 70892f498f2993d626848bb312ff856168d0b9c4 0 (Thu Jan 01 00:00:05 1970 +0000) {'ef1': '38', 'operation': 'rewind', 'user': 'test'} | 879 a5dd64adbb2af2e646859b35d0d7128daa73cb2b 3f2d8862657d20af331f0c0531f5228eef4d36c5 0 (Thu Jan 01 00:00:05 1970 +0000) {'ef1': '6', 'operation': 'rewind', 'user': 'test'} |
880 d952d1794ff657f5c2a82225d2e6307ed930b32f c0d232501dd8e52b8ca8a266f25db89f5120c17f 0 (Thu Jan 01 00:00:05 1970 +0000) {'ef1': '43', 'operation': 'rewind', 'user': 'test'} | 880 d952d1794ff657f5c2a82225d2e6307ed930b32f 9c28b7ed3951fd15b20ab75449c1e0fdec445958 0 (Thu Jan 01 00:00:05 1970 +0000) {'ef1': '11', 'operation': 'rewind', 'user': 'test'} |
881 d952d1794ff657f5c2a82225d2e6307ed930b32f 7b4aed5e99d2734da6cc25f0095876c5cb6e8084 4 (Thu Jan 01 00:00:06 1970 +0000) {'ef1': '34', 'operation': 'rewind', 'user': 'test'} | 881 d952d1794ff657f5c2a82225d2e6307ed930b32f fef4355b4cc9e2d3ddc154f60e4f4f1a286e9ce7 4 (Thu Jan 01 00:00:06 1970 +0000) {'ef1': '2', 'operation': 'rewind', 'user': 'test'} |
882 7b1440274cc3b3f8bfcffc891172a7d2d7e9140c 141aedbbde8f407fc8a8a7355221733b0fc01ca5 4 (Thu Jan 01 00:00:06 1970 +0000) {'ef1': '38', 'operation': 'rewind', 'user': 'test'} | 882 a5dd64adbb2af2e646859b35d0d7128daa73cb2b d36d6d267714108384f31762b6193c32f9f97514 4 (Thu Jan 01 00:00:06 1970 +0000) {'ef1': '6', 'operation': 'rewind', 'user': 'test'} |
883 70892f498f2993d626848bb312ff856168d0b9c4 141aedbbde8f407fc8a8a7355221733b0fc01ca5 0 (Thu Jan 01 00:00:06 1970 +0000) {'ef1': '38', 'operation': 'rewind', 'user': 'test'} | 883 3f2d8862657d20af331f0c0531f5228eef4d36c5 d36d6d267714108384f31762b6193c32f9f97514 0 (Thu Jan 01 00:00:06 1970 +0000) {'ef1': '6', 'operation': 'rewind', 'user': 'test'} |
884 c0d232501dd8e52b8ca8a266f25db89f5120c17f 7b4aed5e99d2734da6cc25f0095876c5cb6e8084 0 (Thu Jan 01 00:00:06 1970 +0000) {'ef1': '43', 'operation': 'rewind', 'user': 'test'} | 884 9c28b7ed3951fd15b20ab75449c1e0fdec445958 fef4355b4cc9e2d3ddc154f60e4f4f1a286e9ce7 0 (Thu Jan 01 00:00:06 1970 +0000) {'ef1': '11', 'operation': 'rewind', 'user': 'test'} |
885 $ hg obslog | 885 $ hg obslog |
886 @ 141aedbbde8f (10) c_B0 | 886 @ d36d6d267714 (10) c_B0 |
887 |\ | 887 |\ |
888 x | 70892f498f29 (8) c_B0 | 888 x | 3f2d8862657d (8) c_B0 |
889 |\| rewritten(meta, date, parent) as 141aedbbde8f using rewind by test (Thu Jan 01 00:00:06 1970 +0000) | 889 |\| rewritten(meta, parent) as d36d6d267714 using rewind by test (Thu Jan 01 00:00:06 1970 +0000) |
890 | | | 890 | | |
891 | x 7b1440274cc3 (6) c_B0 | 891 | x a5dd64adbb2a (6) c_B0 |
892 |/| rewritten(meta, date, parent) as 141aedbbde8f using rewind by test (Thu Jan 01 00:00:06 1970 +0000) | 892 |/| rewritten(meta, parent) as 3f2d8862657d using rewind by test (Thu Jan 01 00:00:05 1970 +0000) |
893 | | rewritten(meta, date, parent) as 70892f498f29 using rewind by test (Thu Jan 01 00:00:05 1970 +0000) | 893 | | rewritten(meta, parent) as d36d6d267714 using rewind by test (Thu Jan 01 00:00:06 1970 +0000) |
894 | | | 894 | | |
895 x | 96622b0702dd (5) c_B0 | 895 x | ac979e0aac4e (5) c_B0 |
896 |\| rewritten(meta, date, parent) as 70892f498f29 using rewind by test (Thu Jan 01 00:00:05 1970 +0000) | 896 |\| rewritten(meta, parent) as 3f2d8862657d using rewind by test (Thu Jan 01 00:00:05 1970 +0000) |
897 | | rewritten(meta, date, parent) as 7b1440274cc3 using rewind by test (Thu Jan 01 00:00:04 1970 +0000) | 897 | | rewritten(meta, parent) as a5dd64adbb2a using rewind by test (Thu Jan 01 00:00:04 1970 +0000) |
898 | | | 898 | | |
899 | x a65fceb2324a (4) c_B0 | 899 | x a65fceb2324a (4) c_B0 |
900 |/ rewritten(meta, date) as 7b1440274cc3 using rewind by test (Thu Jan 01 00:00:04 1970 +0000) | 900 |/ rewritten(meta) as a5dd64adbb2a using rewind by test (Thu Jan 01 00:00:04 1970 +0000) |
901 | rewritten(meta, date, parent) as 96622b0702dd using rewind by test (Thu Jan 01 00:00:03 1970 +0000) | 901 | rewritten(meta, parent) as ac979e0aac4e using rewind by test (Thu Jan 01 00:00:03 1970 +0000) |
902 | | 902 | |
903 x 7e594302a05d (2) c_B0 | 903 x 7e594302a05d (2) c_B0 |
904 rewritten(meta, date) as 96622b0702dd using rewind by test (Thu Jan 01 00:00:03 1970 +0000) | |
905 rewritten(parent) as a65fceb2324a using evolve by test (Thu Jan 01 00:00:03 1970 +0000) | 904 rewritten(parent) as a65fceb2324a using evolve by test (Thu Jan 01 00:00:03 1970 +0000) |
906 | 905 rewritten(meta) as ac979e0aac4e using rewind by test (Thu Jan 01 00:00:03 1970 +0000) |
907 $ hg log -G | 906 |
908 @ changeset: 10:141aedbbde8f | 907 $ hg log -G |
909 | tag: tip | 908 @ changeset: 10:d36d6d267714 |
910 | user: test | 909 | tag: tip |
911 | date: Thu Jan 01 00:00:06 1970 +0000 | 910 | user: test |
912 | summary: c_B0 | 911 | date: Thu Jan 01 00:00:00 1970 +0000 |
913 | | 912 | summary: c_B0 |
914 o changeset: 9:7b4aed5e99d2 | 913 | |
914 o changeset: 9:fef4355b4cc9 | |
915 | parent: 0:eba9c2249fe7 | 915 | parent: 0:eba9c2249fe7 |
916 | user: test | 916 | user: test |
917 | date: Thu Jan 01 00:00:06 1970 +0000 | 917 | date: Thu Jan 01 00:00:00 1970 +0000 |
918 | summary: c_A1 | 918 | summary: c_A1 |
919 | | 919 | |
920 o changeset: 0:eba9c2249fe7 | 920 o changeset: 0:eba9c2249fe7 |
921 user: test | 921 user: test |
922 date: Thu Jan 01 00:00:00 1970 +0000 | 922 date: Thu Jan 01 00:00:00 1970 +0000 |