having installed trac from trunk (Trac-0.11dev_r6153-py2.4.egg) and
tracmercurial (TracMercurial-0.11.0.1-py2.4.egg) as described on the
wiki/TracMercurial I run into the problem that the hg repository
module is not correctly installed. I'm using hg 0.9.1 and python 2.4.4
(both from debian edge).
The message on top of the welcome page is :
*Warning:* Can't synchronize with the repository (Unsupported
version control system "hg". Check that the Python support libraries
for "hg" are correctly installed.
The relevant part of the projects trac.ini is :
[components]
tracext.hg.* = enabled
[hg]
node_format = short
show_rev = yes
[trac]
<snip>
repository_type = hg
repository_dir = /var/projects/elan/brandweer
The debug log shows that the TracMercurial plugin is being loaded :
2007-11-15 23:16:01,307 Trac[__init__] DEBUG: Loading hg from /usr/lib/python2.4
/site-packages/TracMercurial-0.11.0.1-py2.4.egg
Trying to import the MercurialConnector from the python commandline
seems to work:
Python 2.4.4 (#2, Apr 5 2007, 20:11:18)
[GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from tracext.hg.backend import MercurialConnector
>>>
Adding some debugging to the versioncontrol api.py shows that the
RepositoryManager connectors member only contains a
SubversionConnector object.
Any ideas on how to debug this any further? I'm kind of lost here....
Frank Cornelissen