The naming convention is that the this should be hgserver.pp and not hg.pp. And it should also be called rhodecode and not hg, from my point of view. Because it's a rhodecode installation and not a pure mercurial installation.