trac and mercurial integration using in-process hook
Jan Capek
jen at jikos.cz
Mon Jan 28 23:03:52 CST 2008
Hi,
I am not sure whether this is more of a devel question or user support
question.
My question is on integrating an existing trac hack to adjust trac tickets
referenced by a particular changeset (the hook is based on
http://trac-hacks.org/browser/timingandestimationplugin/branches/trac0.10/scripts/trac-post-commit.py
and in fact uses it as submodule)
I would like to use the this as a commit/incoming in-process python hook
(see the code
at the bottom). However, I ran into module import problems since
mercurial seems to redefine the 'import' built-in function. The trace is
attached below. This issue seems to be similar to
http://www.selenic.com/mercurial/bts/issue605
Could the actual problem be in the following dependency which seems to be
circular: ????
More information about the Mercurial-devel
mailing list