diff mercurial/commands.py @ 3020:ea2a9c13afc6

Add a hint for revert --all when aborting
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Tue, 29 Aug 2006 19:02:57 +0200
parents 2b255c3478dc
children d161e6f39557
line wrap: on
line diff
--- a/mercurial/commands.py	Mon Aug 28 21:49:02 2006 +0200
+++ b/mercurial/commands.py	Tue Aug 29 19:02:57 2006 +0200
@@ -2291,7 +2291,8 @@
     """
 
     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']: