Trac trunk & TracMercurial 0.11

3 views
Skip to first unread message

Frank Cornelissen

unread,
Nov 15, 2007, 5:51:27 PM11/15/07
to trac-...@googlegroups.com
Hi,

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

rupert thurner

unread,
Nov 15, 2007, 5:57:55 PM11/15/07
to Trac Users
did you try the recent 0.95 version?

On 15 Nov., 23:51, "Frank Cornelissen" <cornelissen.fr...@gmail.com>
wrote:

Frank Cornelissen

unread,
Nov 16, 2007, 3:46:11 AM11/16/07
to Trac Users


On Nov 15, 11:57 pm, rupert thurner <rupert.thur...@gmail.com> wrote:
> did you try the recent 0.95 version?
>

I just did, and that works.... Maybe the wiki should make this more
clear (I was under the impression that any 0.9 version would work)

Thanks for the help!


Frank Cornelissen
Reply all
Reply to author
Forward
0 new messages