diff -r 59e8bc22506e -r 0292f88d3b86 mercurial/localrepo.py --- a/mercurial/localrepo.py Fri Sep 30 21:58:54 2011 -0400 +++ b/mercurial/localrepo.py Sat Oct 01 16:18:51 2011 -0500 @@ -791,7 +791,7 @@ if not force and self['.'] != self['tip'] and desc == 'commit': raise util.Abort( _('rollback of last commit while not checked out ' - 'may lose data (use -f to force)')) + 'may lose data'), hint=_('use -f to force')) ui.status(msg) if dryrun: