diff mercurial/commands.py @ 6929:1b15d6e7cc3c

bisect: status message when no action is specified
author Dirkjan Ochtman <dirkjan@ochtman.nl>
date Thu, 21 Aug 2008 19:02:56 +0200
parents 1a4c66d741a2
children a58a611c320f 5ce625983208
line wrap: on
line diff
--- a/mercurial/commands.py	Thu Aug 21 19:02:46 2008 +0200
+++ b/mercurial/commands.py	Thu Aug 21 19:02:56 2008 +0200
@@ -285,7 +285,10 @@
         else:
             reset = True
     elif extra or good + bad + skip + reset > 1:
-        raise util.Abort("Incompatible arguments")
+        raise util.Abort(_('incompatible arguments'))
+    elif not (good or bad or skip or reset):
+        ui.status(_('(no action selected)\n'))
+        return
 
     if reset:
         p = repo.join("bisect.state")