Mercurial > evolve
changeset 5478:f2d919aa64d6
evolve: test that new suggestions works
author | Sushil khanchi <sushilkhanchi97@gmail.com> |
---|---|
date | Fri, 24 Jul 2020 00:18:12 +0530 |
parents | d60490a28318 |
children | 565194775c41 |
files | tests/test-issue-6028.t |
diffstat | 1 files changed, 22 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-issue-6028.t Wed Jul 22 23:40:24 2020 +0530 +++ b/tests/test-issue-6028.t Fri Jul 24 00:18:12 2020 +0530 @@ -165,5 +165,27 @@ evolve creates an obsolete changeset above as 11 + $ hg evolve -l + 61eff7f7bb6c: aa + orphan: 487c225d33af (obsolete parent) + + 2b5a7b3298d9: merged bb + orphan: 3f6f25057afb (obsolete parent) + + c920dd828523: merged aa + orphan: 61eff7f7bb6c (orphan parent) + $ hg evolve -r . skipping c920dd828523, consider including orphan ancestors + +test that the suggestion works + + $ hg evolve -r 'parents(".")::' + move:[7] aa + atop:[1] a + switching to topic a + move:[11] merged aa + move:[10] merged bb + working directory is now at bdbfa73836d6 + + $ hg evolve -l