changeset 900:abd8f2f2c58a

svn_swig_wrapper: canonicalize path
author Bryan O'Sullivan <bryano@fb.com>
date Sun, 13 May 2012 15:23:30 +0200
parents 7f90bb48c9de
children bd12a4da0f35
files hgsubversion/svnwrap/svn_swig_wrapper.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgsubversion/svnwrap/svn_swig_wrapper.py
+++ b/hgsubversion/svnwrap/svn_swig_wrapper.py
@@ -165,7 +165,7 @@ class SubversionRepo(object):
         # --username and --password override URL credentials
         self.username = parsed[0]
         self.password = parsed[1]
-        self.svn_url = parsed[2]
+        self.svn_url = core.svn_path_canonicalize(parsed[2])
         self.auth_baton_pool = core.Pool()
         self.auth_baton = _create_auth_baton(self.auth_baton_pool, password_stores)
         # self.init_ra_and_client() assumes that a pool already exists