[issue1761] Convert fails - httplib.InvalidURL: nonnumeric port: ''

Sander van Dragt mercurial-bugs at selenic.com
Fri Jul 24 05:30:10 CDT 2009


New submission from Sander van Dragt <sander.vandragt at gmail.com>:

I'm trying to convert a subversion repository into mercurial so I can trial
it. I created a repository successfully at bitbucket and committed a change.
I enabled the convert extension. I can't convert the respository though:

C:\temp\test>svn --version | find "version"
svn, version 1.6.3 (r38063)

C:\temp\test>hg convert https://testing1.angus.ac.uk:8443/svn/www/trunk
assuming destination trunk-hg
initializing destination trunk-hg repository
** unknown exception encountered, details follow
** report bug details to http://mercurial.selenic.com/bts/
** or mercurial at selenic.com
** Mercurial Distributed SCM (version 1.3)
** Extensions loaded: extdiff, convert
Traceback (most recent call last):
  File "hg", line 38, in <module>
  File "mercurial\dispatch.pyc", line 16, in run
  File "mercurial\dispatch.pyc", line 27, in dispatch
  File "mercurial\dispatch.pyc", line 43, in _runcatch
  File "mercurial\dispatch.pyc", line 449, in _dispatch
  File "mercurial\dispatch.pyc", line 317, in runcommand
  File "mercurial\dispatch.pyc", line 501, in _runcommand
  File "mercurial\dispatch.pyc", line 454, in checkargs
  File "mercurial\dispatch.pyc", line 448, in <lambda>
  File "mercurial\util.pyc", line 370, in check
  File "hgext\convert\__init__.pyc", line 232, in convert
  File "hgext\convert\convcmd.pyc", line 369, in convert
  File "hgext\convert\convcmd.pyc", line 54, in convertsource
  File "hgext\convert\subversion.pyc", line 189, in __init__
  File "hgext\convert\subversion.pyc", line 163, in issvnurl
  File "hgext\convert\subversion.pyc", line 147, in httpcheck
  File "urllib.pyc", line 82, in urlopen
  File "urllib.pyc", line 190, in open
  File "urllib.pyc", line 404, in open_https
  File "httplib.pyc", line 1247, in __init__
  File "httplib.pyc", line 1126, in __init__
  File "httplib.pyc", line 639, in __init__
  File "httplib.pyc", line 651, in _set_hostport
httplib.InvalidURL: nonnumeric port: ''

C:\temp\test>

----------
messages: 10192
nosy: pacifika
priority: bug
status: unread
title: Convert fails - httplib.InvalidURL: nonnumeric port: ''

____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://mercurial.selenic.com/bts/issue1761>
____________________________________________________



More information about the Mercurial-devel mailing list