mercurial/commands.py
changeset 3017 ea2a9c13afc6
parent 3013 2b255c3478dc
child 3026 d161e6f39557
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -2291,7 +2291,8 @@ def revert(ui, repo, *pats, **opts):
     """
 
     if not pats and not opts['all']:
-        raise util.Abort(_('no files or directories specified'))
+        raise util.Abort(_('no files or directories specified; '
+                           'use --all to revert the whole repo'))
 
     parent, p2 = repo.dirstate.parents()
     if opts['rev']: