Mercurial > hg > mercurial-crew-with-dirclash
diff hgext/convert/subversion.py @ 5020:780051cca03c
convert svn: canonicalize path before calling url_from_path.
Otherwise libsvn has a tendency to abort().
author | Brendan Cully <brendan@kublai.com> |
---|---|
date | Thu, 26 Jul 2007 14:02:49 -0700 |
parents | 6b2d8caf87b2 |
children | 2bd996d0aaf8 |
line wrap: on
line diff
--- 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):