# HG changeset patch # User Brendan Cully # Date 2007-07-26 21:02:49 # Node ID 780051cca03ca0af94aacdc1dac1b4c460934deb # Parent 6b2d8caf87b20cb79f22026658da330e22963d02 convert svn: canonicalize path before calling url_from_path. Otherwise libsvn has a tendency to abort(). diff --git a/hgext/convert/subversion.py b/hgext/convert/subversion.py --- a/hgext/convert/subversion.py +++ b/hgext/convert/subversion.py @@ -39,8 +39,7 @@ except ImportError: def geturl(path): try: - #extract URL from working directory - return svn.client.url_from_path(path) + return svn.client.url_from_path(svn.core.svn_path_canonicalize(path)) except SubversionException: pass if os.path.isdir(path):