Webserver doesn't work in 2.1.1 on WinXP (both 32 and 64)
Created originally on Bitbucket by bbbaga
I also reported this in comments for issue <<issue 937>>, but most likely this is separate problem. They only have 'Blackhole object' in common. What i did:
#Configured repo to use port 8001 #Started server from gui:
{{{ #! % hg serve --port 8001 --debug -R W:_MW\mw-x listening at http://bagamw:8001/ (bound to *:8001)
}}}
Access it from Linux (hg --version -> Mercurial Distributed SCM (version 1.8.4))
When repositories are the same, correctly reports no changes:
{{{ #! 10.0.22.28 - - [15/Jul/2011 10:38:42] "GET /?pairs=0000000000000000000000000000000000000000-0000000000000000000000000000000000000000&cmd=between HTTP/1.1" 200 - 10.0.22.28 - - [15/Jul/2011 10:38:42] "GET /?cmd=heads HTTP/1.1" 200 - }}}
After repository on Win64 updated, no longer works: {{{ #! 10.0.22.28 - - [15/Jul/2011 10:50:17] "GET /?pairs=0000000000000000000000000000000000000000-0000000000000000000000000000000000000000&cmd=between HTTP/1.1" 200 - 10.0.22.28 - - [15/Jul/2011 10:50:17] "GET /?cmd=heads HTTP/1.1" 200 - 10.0.22.28 - - [15/Jul/2011 10:50:17] "GET /?nodes=7eb862d3ae92ca5582fde133ea35c929a59e24fd&cmd=branches HTTP/1.1" 200 - 10.0.22.28 - - [15/Jul/2011 10:50:17] "GET /?pairs=7eb862d3ae92ca5582fde133ea35c929a59e24fd-fcb7cb0136ff8c517dc379cc1c295cdb49e423c7&cmd=between HTTP/1.1" 200 - 10.0.22.28 - - [15/Jul/2011 10:50:17] "GET /?cmd=capabilities HTTP/1.1" 200 - 10.0.22.28 - - [15/Jul/2011 10:50:17] "GET /?bases=7eb862d3ae92ca5582fde133ea35c929a59e24fd&cmd=changegroupsubset&heads=7eb862d3ae92ca5582fde133ea35c929a59e24fd HTTP/1.1" 500 - 10.0.22.28 - - [15/Jul/2011 10:50:17] Exception happened during processing request '/?bases=7eb862d3ae92ca5582fde133ea35c929a59e24fd&cmd=changegroupsubset&heads=7eb862d3ae92ca5582fde133ea35c929a59e24fd': Traceback (most recent call last): File "mercurial\hgweb\server.pyo", line 77, in do_POST File "mercurial\hgweb\server.pyo", line 70, in do_write File "mercurial\hgweb\server.pyo", line 137, in do_hgweb File "mercurial\hgweb\hgweb_mod.pyo", line 91, in call File "mercurial\hgweb\hgweb_mod.pyo", line 127, in run_wsgi File "mercurial\hgweb\protocol.pyo", line 75, in call File "mercurial\wireproto.pyo", line 340, in dispatch File "mercurial\wireproto.pyo", line 427, in changegroupsubset File "mercurial\localrepo.pyo", line 1478, in changegroupsubset File "mercurial\localrepo.pyo", line 1515, in _changegroupsubset File "mercurial\localrepo.pyo", line 1620, in _changegroup File "mercurial\localrepo.pyo", line 224, in hook File "mercurial\hook.pyo", line 128, in hook File "mercurial\windows.pyo", line 30, in getattr AttributeError: 'Blackhole' object has no attribute 'fileno' }}}