changeset 1034:3e716bb9f6df

use old argument style to support python 2.4
author Shun-ichi GOTO <gotoh@taiyo.co.jp>
date Fri, 12 Jul 2013 09:51:25 +0900
parents 32f6b970c762
children 2c64453f98a7
files hgsubversion/svnrepo.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgsubversion/svnrepo.py
+++ b/hgsubversion/svnrepo.py
@@ -156,7 +156,8 @@ class svnremoterepo(peerrepository):
     @propertycache
     def svn(self):
         try:
-            return svnwrap.SubversionRepo(*self.svnauth, password_stores=self.password_stores)
+            auth = self.svnauth
+            return svnwrap.SubversionRepo(auth[0], auth[1], auth[2], password_stores=self.password_stores)
         except svnwrap.SubversionConnectionException, e:
             self.ui.traceback()
             raise hgutil.Abort(e)