comparison tests/test-topic-dest.t @ 5086:553b2f2fda93 mercurial-5.1

test-compat: merge mercurial-5.2 into mercurial-5.1
author Anton Shestakov <av6@dwimlabs.net>
date Thu, 23 Jan 2020 17:40:51 +0700
parents e7949274c3f9
children 2631e735ec16 e25394b6d021
comparison
equal deleted inserted replaced
4967:844c9eb2400f 5086:553b2f2fda93
498 $ HGEDITOR=cat hg histedit | grep pick 498 $ HGEDITOR=cat hg histedit | grep pick
499 pick e44744d9ad73 12 babar 499 pick e44744d9ad73 12 babar
500 pick 38eea8439aee 14 arthur 500 pick 38eea8439aee 14 arthur
501 pick 411315c48bdc 15 pompadour 501 pick 411315c48bdc 15 pompadour
502 # p, pick = use commit 502 # p, pick = use commit
503
504 $ cd ..
505
506 destination check: when active topic is empty
507
508 $ hg init emptytopic
509 $ cd emptytopic
510 $ echo a > a
511 $ hg ci -Am "added a"
512 adding a
513 $ hg topic foo
514 marked working directory as topic: foo
515 $ hg up
516 clearing empty topic "foo"
517 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
518
519 destination check: when wdp has a topic but wdir has no active topic:
520
521 $ hg topic foo
522 marked working directory as topic: foo
523 $ echo b > b
524 $ hg ci -Am "added b"
525 adding b
526 active topic 'foo' grew its first changeset
527 (see 'hg help topics' for more information)
528 $ hg topic --clear
529 $ hg up
530 switching to topic foo
531 0 files updated, 0 files merged, 0 files removed, 0 files unresolved