[PATCH 0 of 1] Fix for issue 1782 - (Windows) svn convert error on urls with port nr.

Laurens Holst laurens.nospam at grauw.nl
Thu Aug 6 22:01:11 UTC 2009


So there is issue 1782 [1] on Windows where trying to run:

  hg convert https://svn.cs.uu.nl:12443/repos/grauw-rep/

Causes an httplib.InvalidURL: nonnumeric port: '' error. This error was introduced in
revision a2af1d92b913.

This turns out to be caused by a path = urllib.url2pathname(path) statement in the
subversion.py issvnurl function. The fix is only only do this url-to-path conversion
if the url has the file protocol.

~Laurens

[1] http://mercurial.selenic.com/bts/issue1782


More information about the Mercurial-devel mailing list