Mercurial > evolve
comparison tests/test-evolve-obshistory-amend.t @ 5167:471b7a4acf9b
obslog: have at least one test that shows multiple dates with -f flag
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Tue, 18 Feb 2020 17:31:41 +0800 |
parents | ce8479d1a6f9 |
children | c7ca43bba6c5 |
comparison
equal
deleted
inserted
replaced
5166:27845c5aefb3 | 5167:471b7a4acf9b |
---|---|
283 $ hg up tip | 283 $ hg up tip |
284 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | 284 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
285 $ hg amend -m "A2 | 285 $ hg amend -m "A2 |
286 > | 286 > |
287 > Better better commit message" | 287 > Better better commit message" |
288 $ hg amend -m "A3 | 288 $ hg amend --config devel.default-date='1 0' -m "A3 |
289 > | 289 > |
290 > Better better better commit message" | 290 > Better better better commit message" |
291 $ sync | 291 $ sync |
292 $ hg log --hidden -G | 292 $ hg log --hidden -G |
293 @ changeset: 4:92210308515b | 293 @ changeset: 4:92210308515b |
327 | 327 |
328 $ hg obslog --patch 92210308515b | 328 $ hg obslog --patch 92210308515b |
329 @ 92210308515b (4) A3 | 329 @ 92210308515b (4) A3 |
330 | | 330 | |
331 x 4f1685185907 (3) A2 | 331 x 4f1685185907 (3) A2 |
332 | reworded(description) as 92210308515b using amend by test (Thu Jan 01 00:00:00 1970 +0000) | 332 | reworded(description) as 92210308515b using amend by test (Thu Jan 01 00:00:01 1970 +0000) |
333 | diff -r 4f1685185907 -r 92210308515b changeset-description | 333 | diff -r 4f1685185907 -r 92210308515b changeset-description |
334 | --- a/changeset-description | 334 | --- a/changeset-description |
335 | +++ b/changeset-description | 335 | +++ b/changeset-description |
336 | @@ -1,3 +1,3 @@ | 336 | @@ -1,3 +1,3 @@ |
337 | -A2 | 337 | -A2 |
422 | 422 |
423 $ hg obslog -R $TESTTMP/server --patch 92210308515b | 423 $ hg obslog -R $TESTTMP/server --patch 92210308515b |
424 o 92210308515b (2) A3 | 424 o 92210308515b (2) A3 |
425 | | 425 | |
426 x 4f1685185907 | 426 x 4f1685185907 |
427 | reworded(description) as 92210308515b using amend by test (Thu Jan 01 00:00:00 1970 +0000) | 427 | reworded(description) as 92210308515b using amend by test (Thu Jan 01 00:00:01 1970 +0000) |
428 | (No patch available, context is not local) | 428 | (No patch available, context is not local) |
429 | | 429 | |
430 x 4ae3a4151de9 (1) A1 | 430 x 4ae3a4151de9 (1) A1 |
431 | reworded(description) as 4f1685185907 using amend by test (Thu Jan 01 00:00:00 1970 +0000) | 431 | reworded(description) as 4f1685185907 using amend by test (Thu Jan 01 00:00:00 1970 +0000) |
432 | (No patch available, successor is unknown locally) | 432 | (No patch available, successor is unknown locally) |
437 | 437 |
438 $ hg obslog -R $TESTTMP/server -f --patch 92210308515b | 438 $ hg obslog -R $TESTTMP/server -f --patch 92210308515b |
439 o 92210308515b (2) A3 | 439 o 92210308515b (2) A3 |
440 | | 440 | |
441 x 4ae3a4151de9 (1) A1 | 441 x 4ae3a4151de9 (1) A1 |
442 reworded(description) as 92210308515b using amend by test (at Thu Jan 01 00:00:00 1970 +0000) | 442 reworded(description) as 92210308515b using amend by test (between Thu Jan 01 00:00:00 1970 +0000 and Thu Jan 01 00:00:01 1970 +0000) |
443 diff -r 4ae3a4151de9 -r 92210308515b changeset-description | 443 diff -r 4ae3a4151de9 -r 92210308515b changeset-description |
444 --- a/changeset-description | 444 --- a/changeset-description |
445 +++ b/changeset-description | 445 +++ b/changeset-description |
446 @@ -1,3 +1,3 @@ | 446 @@ -1,3 +1,3 @@ |
447 -A1 | 447 -A1 |
453 | 453 |
454 $ hg obslog -R $TESTTMP/server --no-graph --patch 92210308515b | 454 $ hg obslog -R $TESTTMP/server --no-graph --patch 92210308515b |
455 92210308515b (2) A3 | 455 92210308515b (2) A3 |
456 | 456 |
457 4f1685185907 | 457 4f1685185907 |
458 reworded(description) as 92210308515b using amend by test (Thu Jan 01 00:00:00 1970 +0000) | 458 reworded(description) as 92210308515b using amend by test (Thu Jan 01 00:00:01 1970 +0000) |
459 (No patch available, context is not local) | 459 (No patch available, context is not local) |
460 | 460 |
461 4ae3a4151de9 (1) A1 | 461 4ae3a4151de9 (1) A1 |
462 reworded(description) as 4f1685185907 using amend by test (Thu Jan 01 00:00:00 1970 +0000) | 462 reworded(description) as 4f1685185907 using amend by test (Thu Jan 01 00:00:00 1970 +0000) |
463 (No patch available, successor is unknown locally) | 463 (No patch available, successor is unknown locally) |
469 | 469 |
470 $ hg obslog -R $TESTTMP/server --no-graph -f --patch 92210308515b | 470 $ hg obslog -R $TESTTMP/server --no-graph -f --patch 92210308515b |
471 92210308515b (2) A3 | 471 92210308515b (2) A3 |
472 | 472 |
473 4f1685185907 | 473 4f1685185907 |
474 reworded(description) as 92210308515b using amend by test (Thu Jan 01 00:00:00 1970 +0000) | 474 reworded(description) as 92210308515b using amend by test (Thu Jan 01 00:00:01 1970 +0000) |
475 (No patch available, context is not local) | 475 (No patch available, context is not local) |
476 | 476 |
477 4ae3a4151de9 (1) A1 | 477 4ae3a4151de9 (1) A1 |
478 reworded(description) as 4f1685185907 using amend by test (Thu Jan 01 00:00:00 1970 +0000) | 478 reworded(description) as 4f1685185907 using amend by test (Thu Jan 01 00:00:00 1970 +0000) |
479 (No patch available, successor is unknown locally) | 479 (No patch available, successor is unknown locally) |