convert: avoid querying log of foreign svn branches
Server configuration may prevent access to other branches, so don't even try to
get them, instead of ignoring them afterwards.
--- 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: