Fix closes issue12683 - urljoin to work with relative join of svn scheme.

This commit is contained in:
Senthil Kumaran 2011-08-03 18:31:59 +08:00
parent c1ee4ef9dc
commit f432aeca7c
3 changed files with 6 additions and 1 deletions

View file

@ -34,7 +34,8 @@ __all__ = ["urlparse", "urlunparse", "urljoin", "urldefrag",
# A classification of schemes ('' means apply by default)
uses_relative = ['ftp', 'http', 'gopher', 'nntp', 'imap',
'wais', 'file', 'https', 'shttp', 'mms',
'prospero', 'rtsp', 'rtspu', '', 'sftp']
'prospero', 'rtsp', 'rtspu', '', 'sftp',
'svn']
uses_netloc = ['ftp', 'http', 'gopher', 'nntp', 'telnet',
'imap', 'wais', 'file', 'mms', 'https', 'shttp',
'snews', 'prospero', 'rtsp', 'rtspu', 'rsync', '',