changeset 1566:c28c757ffe16

svnrepo: preserve and forward intents kwarg
author Augie Fackler <raf@durin42.com>
date Fri, 20 Apr 2018 15:47:29 -0400
parents 8a66277136ab
children 4442a2f42843
files hgsubversion/svnrepo.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/hgsubversion/svnrepo.py
+++ b/hgsubversion/svnrepo.py
@@ -240,11 +240,11 @@ class svnremoterepo(peerrepository):
         def debugwireargs(self):
             raise NotImplementedError
 
-def instance(ui, url, create):
+def instance(ui, url, create, intents=None):
     if url.startswith('http://') or url.startswith('https://'):
         try:
             # may yield a bogus 'real URL...' message
-            return httppeer.instance(ui, url, create)
+            return httppeer.instance(ui, url, create, intents=intents)
         except error.RepoError:
             ui.traceback()
             ui.note('(falling back to Subversion support)\n')