I am running hgweb.cgi on a Windows 2003 server (IIS 6, Python 2.6.6), and have been having no issues until I recently upgraded from mercurial 1.6 to 1.7 and 1.8 (clients and central server). I have a single directory on the server containing all of my central repositories, and this directory is setup as a "collection" in the hgweb.config file. Even after upgrading to mercurial 1.8 on the server, hgweb.cgi will only list repositories that were created with mercurial 1.6 or earlier. Any repositories created with 1.7 or 1.8 are not listed. Attempting to access 1.7 or 1.8 repositories directly results in the following error message being displayed:
An error occurred while processing your request:
requirement 'dotencode' not supported
It seems like this issue is related to hgweb.cgi using mercurial 1.6, but how is this possible since I uninstalled 1.6 and installed 1.8 on the server? Is there a library file somewhere in the python directory that needs to be replaced/upgraded as well? What am I missing?
I am using the files in the mercurial
webapp directory that was created after installing 1.8, only modifying hgweb.cgi and hgweb.config as needed.