dev-vcs/mercurial-server-1.1 cannot serve requests due to an API change in mercurial-1.9 Indeed it seems that dispatch python class has changed its API and so break software relying on it. Unfortunately mercurial-server-1.1 relies on the deprecated API. To fix this problem without patching mercurial-server, 1.2 version has to be used. Reproducible: Always Steps to Reproduce: 1. Install mercurial-server 2. Do a basic configuration 3. Do not forget to run: su -c "/usr/share/mercurial-server/refresh-auth" - hg 4. Try to clone a repo from your server: hg clone --debug -v ssh://hg@myserver/tanuki-overlay Actual Results: hg clone --debug -v ssh://hg@myserver/tanuki-overlay running ssh hg@myserver "hg -R tanuki-overlay serve --stdio" sending hello command sending between command remote: Traceback (most recent call last): remote: File "/usr/share/mercurial-server/hg-ssh", line 76, in <module> remote: dispatch.dispatch(['-R', repo, 'serve', '--stdio']) remote: File "/usr/lib/python2.7/site-packages/mercurial/dispatch.py", line 31, in dispatch remote: if req.ferr: remote: AttributeError: 'list' object has no attribute 'ferr' abort: no suitable response from remote hg! Expected Results: The remote directory is correctly cloned locally. Useful link which explains how to fix the problem: http://stackoverflow.com/questions/6730735/troubles-with-mercurial-1-9-and-ssh
Created attachment 298771 [details, diff] Fix mercurial-1.9 api breaking when using mercurial-server-1.1 This patch should be applied in the ebuild only if mercurial>=1.9 is used.
version 1.2 in cvs for some time already. closing.