Justin Holzer
Justin Holzer

Reputation: 2336

Why is hgweb.cgi not listing repositories created with mercurial 1.7 or 1.8?

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.

Upvotes: 5

Views: 677

Answers (1)

Ry4an Brase
Ry4an Brase

Reputation: 78350

It's still running 1.6 from somewhere. Perhaps you have a .dll that came with tortoiseHg or some site-packages you don't know about, but 1.6 is somewhere and that's what's getting run.

Upvotes: 3

Related Questions