[issue2055] nonnumeric port bug with https protocol

Davide Angelocola bugs at mercurial.selenic.com
Sun Feb 21 19:08:23 UTC 2010


New submission from Davide Angelocola <davide.angelocola at gmail.com>:

$ hg push http://example.com:dd
hg push http://example.com:dd
abort: error: nonnumeric port: 'dd'

ditto for https:

$ hg push https://example.com:dd
hg push https://example.com:dd
** unknown exception encountered, details follow
** report bug details to http://mercurial.selenic.com/bts/
** or mercurial at selenic.com
** Mercurial Distributed SCM (version 1.4.1+20091201)
** Extensions loaded: 
Traceback (most recent call last):
  File "hg", line 27, in <module>
  File "mercurial\dispatch.pyc", line 16, in run
  File "mercurial\dispatch.pyc", line 30, in dispatch
  File "mercurial\dispatch.pyc", line 46, in _runcatch
  File "mercurial\dispatch.pyc", line 449, in _dispatch
  File "mercurial\dispatch.pyc", line 319, in runcommand
  File "mercurial\dispatch.pyc", line 500, in _runcommand
  File "mercurial\dispatch.pyc", line 454, in checkargs
  File "mercurial\dispatch.pyc", line 448, in <lambda>
  File "mercurial\util.pyc", line 386, in check
  File "mercurial\commands.pyc", line 2345, in push
  File "mercurial\hg.pyc", line 63, in repository
  File "mercurial\httprepo.pyc", line 263, in instance
  File "mercurial\httprepo.pyc", line 184, in between
  File "mercurial\httprepo.pyc", line 128, in do_read
  File "mercurial\httprepo.pyc", line 80, in do_cmd
  File "urllib2.pyc", line 381, in open
  File "urllib2.pyc", line 399, in _open
  File "urllib2.pyc", line 360, in _call_chain
  File "mercurial\url.pyc", line 456, in https_open
  File "mercurial\keepalive.pyc", line 245, in do_open
  File "mercurial\url.pyc", line 476, in _makeconnection
ValueError: invalid literal for int() with base 10: 'dd'

----------
messages: 11832
nosy: dfa
priority: bug
status: unread
title: nonnumeric port bug with https protocol

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


More information about the Mercurial-devel mailing list