hgext/convert/subversion.py
changeset 6281 3e5f99b13998
parent 6214 0f76c7dc8484
child 6397 e1402cf5e08a
--- a/hgext/convert/subversion.py	Sun Mar 16 00:35:12 2008 +0100
+++ b/hgext/convert/subversion.py	Sun Mar 16 00:35:14 2008 +0100
@@ -417,6 +417,11 @@
         a change being reported. Return None if computed module does not
         belong to rootmodule subtree.
         """
+        if not path.startswith(self.rootmodule):
+            # Requests on foreign branches may be forbidden at server level
+            self.ui.debug(_('ignoring foreign branch %r\n') % path)
+            return None
+
         if not stop:
             stop = svn.ra.get_latest_revnum(self.ra)
         try: