mercurial/commands.py
changeset 27422 67eeb7421d8d
parent 27421 930f529b0d5f
child 27423 c953e26f3734
--- a/mercurial/commands.py	Thu Dec 17 14:59:11 2015 +0000
+++ b/mercurial/commands.py	Thu Dec 17 15:03:45 2015 +0000
@@ -1344,6 +1344,9 @@
                           hint=_('use "hg debugcreatestreamclonebundle"'))
 
     if opts.get('all'):
+        if dest:
+            raise error.Abort(_("--all is incompatible with specifying "
+                                "a destination"))
         base = ['null']
     else:
         base = scmutil.revrange(repo, opts.get('base'))