* lib/vclib/svn/__init__.py

(canonicalize_rootpath): Add a TODO comment.



git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@2730 8cb11bc2-c004-0410-86c3-e597b4017df7
trunk
cmpilato 2012-01-31 22:37:32 +00:00
parent 91d1b75856
commit 3297f45285
1 changed files with 4 additions and 0 deletions

View File

@ -20,6 +20,10 @@ import urllib
_re_url = re.compile('^(http|https|file|svn|svn\+[^:]+)://')
def canonicalize_rootpath(rootpath):
### TODO: This feels ... wrong. We only try to convert the URL to
### a local path if we fail to call svn_path_canonicalize()?
### Really? Something tells me I goofed this logic up at some
### point. --cmpilato
try:
import svn.core
return svn.core.svn_path_canonicalize(rootpath)