##// END OF EJS Templates
convert: add docstring on convert.subversion.geturl()...
Manuel Jacob -
r45565:ddf66c21 stable
parent child Browse files
Show More
@@ -140,6 +140,11 b' def quote(s):'
140
140
141
141
142 def geturl(path):
142 def geturl(path):
143 """Convert path or URL to a SVN URL, encoded in UTF-8.
144
145 This can raise UnicodeDecodeError if the path or URL can't be converted to
146 unicode using `fsencoding`.
147 """
143 try:
148 try:
144 return svn.client.url_from_path(
149 return svn.client.url_from_path(
145 svn.core.svn_path_canonicalize(fs2svn(path))
150 svn.core.svn_path_canonicalize(fs2svn(path))
General Comments 0
You need to be logged in to leave comments. Login now