Need help on Mercurial and Bugzilla integration!
Sun Paul
paulrbk at gmail.com
Fri Dec 9 02:11:30 UTC 2011
Hi
I need help!!
I try to make the Mercurial (2.0.1) to work with my existing Bugzilla
setup. however, I am failed. The hgrc for the local repository is attached
below for referecnce.
The system is running on Fedora 8 OS (64-bits), Mercurial and Bugzilla are
both installed on the same host.
Everytime, I do a commit, the following error presetned, and I suspected
the bugzilla extension is not being called to execute.
[root test01]# hg -v com -m "BZ 686" file
could not import hgext.hgext.bugzilla (No module named hgext.bugzilla):
trying hgext.bugzilla
file
committed changeset 57:0c26a22fc01f
However, if I configured the extension as below, there is no error, but
there is no comment insert into the Bugzilla DB. I suspected it also not
able to call.
[extensions]
bugzilla = /usr/local/lib64/python2.5/site-packages/hgext/bugzilla.py
please help!
How I can trace whether the bugzilla is called/executed once I submit a "hg
commit"?
Please help!
paul
P.S. below is the content of the hgrc file.
============
[extensions]
hgext.bugzilla =
[ui]
debug = true
verbose = True
[web]
contact = Admin <db at 127.0.0.1>
description = Testing
allow_push = account01
push_ssl = False
baseurl = /HG001/DEV/test01
[hooks]
incoming.bugzilla = python:hgext.bugzilla.hook
[bugzilla]
host = 127.0.0.1
db = bugs
password = db
version = 3.0
strip = 4
bzuser = db at 1.0.0.127
hgweb = http://127.0.0.1
bzdir = /var/www/html/bugzilla
template = Changeset {node|short}, made by {author} in the {webroot} repos,
refers to this bug.\n
For complete details, see
{hgweb}{webroot}?cmd=changeset;node={node|short}\n
Changeset Description:\n
\t{desc|tabindent}
[usermap] hguser=bugzilla.user at domain.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20111209/3ddadf9d/attachment-0002.html>
More information about the Mercurial
mailing list