comparison tests/test-rename-after-merge.t @ 13446:1e497df514e2 stable

rollback: clarifies the message about the reverted state (issue2628) Previously, when rolling back a transaction, some users could be confused between the level to which the store is rolled back, and the new parents of the working directory. $ hg rollback rolling back to revision 4 (undo commit) With this change: $ hg rollback repository tip rolled back to tip revision 4 (undo commit) working directory now based on revision 2 and 1 So now the user can realize that the store has been rolled back to an older tip, but also that the working directory may not on the tip (here we are rolling back the merge of the heads 2 and 1)
author Gilles Moris <gilles.moris@free.fr>
date Thu, 10 Feb 2011 09:03:06 +0100
parents 4fee1fd3de9a
children 053c042118bc
comparison
equal deleted inserted replaced
13445:61a898576888 13446:1e497df514e2
95 95
96 $ hg log -r tip -C -v | grep copies 96 $ hg log -r tip -C -v | grep copies
97 copies: c2 (c1) 97 copies: c2 (c1)
98 98
99 $ hg rollback 99 $ hg rollback
100 rolling back to revision 2 (undo commit) 100 repository tip rolled back to revision 2 (undo commit)
101 working directory now based on revision 2 and 1
101 102
102 $ hg up -C . 103 $ hg up -C .
103 2 files updated, 0 files merged, 2 files removed, 0 files unresolved 104 2 files updated, 0 files merged, 2 files removed, 0 files unresolved
104 105
105 Merge heads again: 106 Merge heads again: