Show More
@@ -791,7 +791,7 b' class localrepository(repo.repository):' | |||
|
791 | 791 | if not force and self['.'] != self['tip'] and desc == 'commit': |
|
792 | 792 | raise util.Abort( |
|
793 | 793 | _('rollback of last commit while not checked out ' |
|
794 |
'may lose data (use -f to force |
|
|
794 | 'may lose data'), hint=_('use -f to force')) | |
|
795 | 795 | |
|
796 | 796 | ui.status(msg) |
|
797 | 797 | if dryrun: |
@@ -160,7 +160,8 b' that would lose data (issue2998)' | |||
|
160 | 160 | $ hg update 0 |
|
161 | 161 | 1 files updated, 0 files merged, 1 files removed, 0 files unresolved |
|
162 | 162 | $ hg rollback |
|
163 |
abort: rollback of last commit while not checked out may lose data |
|
|
163 | abort: rollback of last commit while not checked out may lose data | |
|
164 | (use -f to force) | |
|
164 | 165 | [255] |
|
165 | 166 | $ hg tip -q |
|
166 | 167 | 2:4d9cd3795eea |
General Comments 0
You need to be logged in to leave comments.
Login now