[Bug 4267] New: hg pull error

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Tue Jun 3 04:48:28 CDT 2014


http://bz.selenic.com/show_bug.cgi?id=4267

          Priority: normal
            Bug ID: 4267
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: hg pull error
          Severity: bug
    Classification: Unclassified
                OS: Windows
          Reporter: bearsprite at gmail.com
          Hardware: PC
            Status: UNCONFIRMED
           Version: 3.0
         Component: Mercurial
           Product: Mercurial

I'm from China, and I don't known if this error is related to Greate Fire Wall.

== hgrc ==
[paths]
default = https://code.google.com/p/vim/

[http_proxy]
host = 127.0.0.1:8580


E:\vim-hg\src>hg pull -u
** unknown exception encountered, please report by visiting
** http://mercurial.selenic.com/wiki/BugTracker
** Python 2.7.7 (default, Jun  1 2014, 14:17:13) [MSC v.1500 32 bit (Intel)]
** Mercurial Distributed SCM (version 3.0)
** Extensions loaded: extdiff, graphlog
Traceback (most recent call last):
  File "D:\Python27\Scripts\hg", line 38, in <module>
    mercurial.dispatch.run()
  File "D:\Python27\Lib\site-packages\mercurial\dispatch.py", line 28, in run
    sys.exit((dispatch(request(sys.argv[1:])) or 0) & 255)
  File "D:\Python27\Lib\site-packages\mercurial\dispatch.py", line 69, in
dispatch
    ret = _runcatch(req)
  File "D:\Python27\Lib\site-packages\mercurial\dispatch.py", line 138, in
_runcatch
    return _dispatch(req)
  File "D:\Python27\Lib\site-packages\mercurial\dispatch.py", line 810, in
_dispatch
    cmdpats, cmdoptions)
  File "D:\Python27\Lib\site-packages\mercurial\dispatch.py", line 590, in
runcommand
    ret = _runcommand(ui, options, cmd, d)
  File "D:\Python27\Lib\site-packages\mercurial\dispatch.py", line 901, in
_runcommand
    return checkargs()
  File "D:\Python27\Lib\site-packages\mercurial\dispatch.py", line 872, in
checkargs
    return cmdfunc()
  File "D:\Python27\Lib\site-packages\mercurial\dispatch.py", line 807, in
<lambda>
    d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
  File "D:\Python27\Lib\site-packages\mercurial\util.py", line 518, in check
    return func(*args, **kwargs)
  File "D:\Python27\Lib\site-packages\mercurial\commands.py", line 4582, in
pull
    other = hg.peer(repo, opts, source)
  File "D:\Python27\Lib\site-packages\mercurial\hg.py", line 129, in peer
    return _peerorrepo(rui, path, create).peer()
  File "D:\Python27\Lib\site-packages\mercurial\hg.py", line 106, in
_peerorrepo
    obj = _peerlookup(path).instance(ui, path, create)
  File "D:\Python27\Lib\site-packages\mercurial\httppeer.py", line 261, in
instance
    inst._fetchcaps()
  File "D:\Python27\Lib\site-packages\mercurial\httppeer.py", line 58, in
_fetchcaps
    self.caps = set(self._call('capabilities').split())
  File "D:\Python27\Lib\site-packages\mercurial\httppeer.py", line 172, in
_call
    fp = self._callstream(cmd, **args)
  File "D:\Python27\Lib\site-packages\mercurial\httppeer.py", line 119, in
_callstream
    resp = self.urlopener.open(req)
  File "D:\Python27\lib\urllib2.py", line 404, in open
    response = self._open(req, data)
  File "D:\Python27\lib\urllib2.py", line 422, in _open
    '_open', req)
  File "D:\Python27\lib\urllib2.py", line 382, in _call_chain
    result = func(*args)
  File "D:\Python27\Lib\site-packages\mercurial\url.py", line 372, in
https_open
    return self.do_open(self._makeconnection, req)
  File "D:\Python27\Lib\site-packages\mercurial\keepalive.py", line 254, in
do_open
    self._start_transaction(h, req)
  File "D:\Python27\Lib\site-packages\mercurial\url.py", line 358, in
_start_transaction
    return keepalive.KeepAliveHandler._start_transaction(self, h, req)
  File "D:\Python27\Lib\site-packages\mercurial\keepalive.py", line 352, in
_start_transaction
    h.endheaders()
  File "D:\Python27\lib\httplib.py", line 991, in endheaders
    self._send_output(message_body)
  File "D:\Python27\lib\httplib.py", line 844, in _send_output
    self.send(msg)
  File "D:\Python27\Lib\site-packages\mercurial\url.py", line 144, in _sendfile
    orgsend(self, data)
  File "D:\Python27\Lib\site-packages\mercurial\keepalive.py", line 532, in
safesend
    self.connect()
  File "D:\Python27\Lib\site-packages\mercurial\url.py", line 342, in connect
    _generic_proxytunnel(self)
  File "D:\Python27\Lib\site-packages\mercurial\url.py", line 228, in
_generic_proxytunnel
    self._set_hostport(self.host, self.port)
AttributeError: httpsconnection instance has no attribute '_set_hostport'

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list