hg serve fails on Cygwin

Michal Kvasnica kvasnica at control.ee.ethz.ch
Wed Aug 10 06:47:07 CDT 2005


Hello,

after changeset 0108c602feb9dacc00b66647b8871bd9ee991b92
'hg serve' fails on Cygwin (Win XP + SP2):

$ python -V
Python 2.4
$ hg serve -p 8080
Traceback (most recent call last):
  File "/usr/bin/hg", line 13, in ?
    commands.run()
  File "/usr/lib/python2.4/site-packages/mercurial/commands.py", line
1367, in run
    sys.exit(dispatch(sys.argv[1:]))
  File "/usr/lib/python2.4/site-packages/mercurial/commands.py", line
1469, in dispatch
    return d()
  File "/usr/lib/python2.4/site-packages/mercurial/commands.py", line
1454, in <lambda>
    d = lambda: func(u, repo, *args, **cmdoptions)
  File "/usr/lib/python2.4/site-packages/mercurial/commands.py", line
1055, in serve
    openlog('errorlog', sys.stderr))
  File "/usr/lib/python2.4/site-packages/mercurial/hgweb.py", line 710,
in create_server
    class IPv6HTTPServer(BaseHTTPServer.HTTPServer):
  File "/usr/lib/python2.4/site-packages/mercurial/hgweb.py", line 711,
in IPv6HTTPServer
    address_family = socket.AF_INET6
  File "/usr/lib/python2.4/site-packages/mercurial/demandload.py", line
7, in __getattr__
    return getattr(scope[mod], name)
AttributeError: 'module' object has no attribute 'AF_INET6'


regards,
michal


More information about the Mercurial mailing list