comparison tests/test-topic-dest.t @ 5024:b1a9d548af52 stable

evolve: fix a bug in logic of choosing destination for hg update
author Sushil khanchi <sushilkhanchi97@gmail.com>
date Fri, 20 Dec 2019 17:31:57 +0530
parents abefd37c6afa
children 21168e99ba88
comparison
equal deleted inserted replaced
5023:abefd37c6afa 5024:b1a9d548af52
510 $ echo a > a 510 $ echo a > a
511 $ hg ci -Am "added a" 511 $ hg ci -Am "added a"
512 adding a 512 adding a
513 $ hg topic foo 513 $ hg topic foo
514 marked working directory as topic: foo 514 marked working directory as topic: foo
515 $ hg up 2>&1 | grep "AssertionError" 515 $ hg up
516 AssertionError: any branch has at least one head 516 clearing empty topic "foo"
517 0 files updated, 0 files merged, 0 files removed, 0 files unresolved