This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Jasper.van.den.Bosch
Recipients Jasper.van.den.Bosch
Date 2011-08-02.22:15:22
SpamBayes Score 2.0749026e-06
Marked as misclassified No
Message-id <1312323323.6.0.0555659867891.issue12683@psf.upfronthosting.co.za>
In-reply-to
Content
urlparse.urljoin successfully joins 'http://localhost/repo1' with a filename, but not 'svn://localhost/repo1' (only scheme different). But the documentation states that the svn: scheme is supported:
http://docs.python.org/library/urlparse.html

Python 2.7.1+ (r271:86832, Apr 11 2011, 18:13:53) 
[GCC 4.5.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from urlparse import urljoin
>>> urljoin('svn://localhost/repo1', 'xxx.xyz')
'xxx.xyz'
>>> urljoin('http://localhost/repo1', 'xxx.xyz')
'http://localhost/xxx.xyz'
History
Date User Action Args
2011-08-02 22:15:23Jasper.van.den.Boschsetrecipients: + Jasper.van.den.Bosch
2011-08-02 22:15:23Jasper.van.den.Boschsetmessageid: <1312323323.6.0.0555659867891.issue12683@psf.upfronthosting.co.za>
2011-08-02 22:15:23Jasper.van.den.Boschlinkissue12683 messages
2011-08-02 22:15:22Jasper.van.den.Boschcreate