Mercurial > evolve
comparison tests/test-topic-dest.t @ 5982:991be5efe7cb stable
topic: correctly update from public commits with a (now hidden) topic
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Tue, 27 Jul 2021 03:06:25 +0300 |
parents | 6ac544f0218f |
children | 43c4db536990 9da0114a8a02 |
comparison
equal
deleted
inserted
replaced
5981:6ac544f0218f | 5982:991be5efe7cb |
---|---|
487 o 1 () c_beta | 487 o 1 () c_beta |
488 | | 488 | |
489 o 0 () c_alpha | 489 o 0 () c_alpha |
490 | 490 |
491 | 491 |
492 Testing that default destination for update is not ignoring phases | |
493 https://bz.mercurial-scm.org/show_bug.cgi?id=6553 | |
494 | |
495 $ hg phase --rev 'desc("Huc")' --public | |
496 | |
497 $ hg up 'desc("Huc")^' | |
498 1 files updated, 0 files merged, 1 files removed, 0 files unresolved | |
499 $ hg up | |
500 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
501 updated to "efbc6aa717fb: Huc" | |
502 1 other heads for branch "default" | |
503 | |
492 Default destination for histedit | 504 Default destination for histedit |
493 ================================ | 505 ================================ |
494 | 506 |
495 By default histedit should edit changesets with the current topic only | 507 By default histedit should edit changesets with the current topic only |
496 (even when based on other draft changesets) | 508 (even when based on other draft changesets) |
497 | 509 |
498 $ hg up elephant | 510 $ hg up elephant |
499 0 files updated, 0 files merged, 0 files removed, 0 files unresolved | 511 switching to topic elephant |
512 2 files updated, 0 files merged, 1 files removed, 0 files unresolved | |
500 $ hg phase 'desc(c_zeta)' | 513 $ hg phase 'desc(c_zeta)' |
501 11: draft | 514 11: draft |
502 $ HGEDITOR=cat hg histedit | grep pick | 515 $ HGEDITOR=cat hg histedit | grep pick |
503 pick e44744d9ad73 12 babar | 516 pick e44744d9ad73 12 babar |
504 pick 38eea8439aee 14 arthur | 517 pick 38eea8439aee 14 arthur |