diff hgsubversion/util.py @ 475:15443c592f7a

Remove the svn+ from svn+https urls before calling the Subversion API. This was already being done for svn+http urls.
author David Stanek <dstanek@dstanek.com>
date Mon, 20 Jul 2009 16:00:37 -0400
parents 5567af673f83
children cad864ed29de
line wrap: on
line diff
--- a/hgsubversion/util.py
+++ b/hgsubversion/util.py
@@ -71,7 +71,7 @@ def version(ui):
 
 
 def normalize_url(url):
-    if url.startswith('svn+http://'):
+    if url.startswith('svn+http://') or url.startswith('svn+https://'):
         url = url[4:]
     url, revs, checkout = hg.parseurl(url)
     url = url.rstrip('/')