Mercurial > evolve
comparison tests/test-evolve.t @ 3856:9c0b37be8582
evolve: move the bookmarks also when updating to successor (issue5923)
When we are on an obsolete node and does `hg evolve`, it updates to it's
sucessor, however it does not move the bookmark to the successor.
This patch adds logic to make sure we move the bookmark too.
Test change demonstrates the fix.
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Tue, 19 Jun 2018 23:21:54 +0530 |
parents | bce7afc21e1f |
children | f7afd3a158e3 8fcee1e65e29 fb8e44c70798 |
comparison
equal
deleted
inserted
replaced
3855:bce7afc21e1f | 3856:9c0b37be8582 |
---|---|
1587 update:[1] added a | 1587 update:[1] added a |
1588 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | 1588 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
1589 working directory is now at ab832e43dd5a | 1589 working directory is now at ab832e43dd5a |
1590 | 1590 |
1591 $ hg log -GT "{rev}:{node|short} {desc} ({bookmarks})\n" --hidden | 1591 $ hg log -GT "{rev}:{node|short} {desc} ({bookmarks})\n" --hidden |
1592 @ 1:ab832e43dd5a added a () | 1592 @ 1:ab832e43dd5a added a (book) |
1593 | 1593 |
1594 x 0:f7ad41964313 added a (book) | 1594 x 0:f7ad41964313 added a () |
1595 | 1595 |