Skip to content
Snippets Groups Projects
Commit 1e497df514e2 authored by Gilles Moris's avatar Gilles Moris
Browse files

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)
parent 61a898576888
No related branches found
No related tags found
No related merge requests found
Showing with 87 additions and 43 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment