mercurial/dispatch.py
branchstable
changeset 13447 931a72e00efa
parent 13430 ed720c7cc97d
child 13950 14d0553bd48b
--- a/mercurial/dispatch.py	Thu Feb 10 09:03:06 2011 +0100
+++ b/mercurial/dispatch.py	Fri Feb 18 20:25:25 2011 +0100
@@ -576,6 +576,8 @@
             if not repo.local():
                 raise util.Abort(_("repository '%s' is not local") % path)
             ui.setconfig("bundle", "mainreporoot", repo.root)
+        except error.RequirementError:
+            raise
         except error.RepoError:
             if cmd not in commands.optionalrepo.split():
                 if args and not path: # try to infer -R from command args