equal
deleted
inserted
replaced
789 desc = None |
789 desc = None |
790 |
790 |
791 if not force and self['.'] != self['tip'] and desc == 'commit': |
791 if not force and self['.'] != self['tip'] and desc == 'commit': |
792 raise util.Abort( |
792 raise util.Abort( |
793 _('rollback of last commit while not checked out ' |
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 ui.status(msg) |
796 ui.status(msg) |
797 if dryrun: |
797 if dryrun: |
798 return 0 |
798 return 0 |
799 |
799 |