* 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-e597b4017df7trunk
parent
91d1b75856
commit
3297f45285
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue