hgext/evolve.py
changeset 1002 195642c1520b
parent 998 85ec2a55fe7c
child 1004 808a33826700
--- a/hgext/evolve.py	Fri Jul 25 14:27:16 2014 +0200
+++ b/hgext/evolve.py	Thu Jul 24 12:02:53 2014 -0700
@@ -1974,7 +1974,8 @@
                 match = scmutil.match(old, pats, opts)
                 newid = _commitfiltered(repo, old, match)
             if newid is None:
-                raise util.Abort(_('nothing to uncommit'))
+                raise util.Abort(_('nothing to uncommit'),
+                                 hint=_("use --all to uncommit all files"))
             # Move local changes on filtered changeset
             createmarkers(repo, [(old, (repo[newid],))])
             phases.retractboundary(repo, oldphase, [newid])