changeset 608:d1de8bb6e11f

push: remove superfluous creation of a new `svnremoterepo' instance.
author Dan Villiom Podlaski Christiansen <danchr@gmail.com>
date Wed, 12 May 2010 20:16:40 +0200
parents b5f1b629c629
children aafbf0d40dc2
files hgsubversion/wrappers.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgsubversion/wrappers.py
+++ b/hgsubversion/wrappers.py
@@ -122,7 +122,7 @@ def push(repo, dest, force, revs):
     # TODO: implement --rev/#rev support
     # TODO: do credentials specified in the URL still work?
     svnurl = repo.ui.expandpath(dest.svnurl)
-    svn = svnrepo.svnremoterepo(repo.ui, svnurl).svn
+    svn = dest.svn
     meta = repo.svnmeta(svn.uuid)
 
     # Strategy: