1

我有一个已经运行了一段时间的 Bugzilla 系统,我最近开始使用 TortoiseHG ,我想使用 Bugzilla 扩展来更新评论。

我已经按照 Mercurial 网站Here设置了它, 但它没有发布到 bug。

这是我正在使用的 Mercurial.ini 的副本

# Generated by TortoiseHg settings dialog
[tortoisehg]
ui.language = en_GB
[ui]
merge = kdiff3
[extensions]
hgext.bugzilla = 
zeroconf = 

[hooks]
# run bugzilla hook on every change pulled or pushed in here
incoming.bugzilla = python:hgext.bugzilla.hook

[bugzilla]
# REQUIRED ITEMS:
host = http://192.168.10.33/bugtracker/ # mysql server where bugzilla database lives 
password = xxxxx   # user's password
version = 2.22.2  # version of bugzilla installed

# OPTIONAL ITEMS:
bzuser = peter.francis@xxx.com    # fallback bugzilla user name to record comments with
#   db = bugs       # database to connect to
#   notify = ...    # command to run to get bugzilla to send mail
regexp = [Bb]ug (\d+)   # regexp to match bug ids (must contain one "()" group)
#   strip = 0       # number of slashes to strip for url paths
#   style = ...     # style file to use when formatting comments
#   template = ...  # template to use when formatting comments
#   timeout = 5     # database connection timeout (seconds)
#   user = bugs     # user to connect to database as
#   [web]
#   baseurl = http://hgserver/... # root of hg web site for browsing commits

有没有其他人这样做并可以提供建议?

4

1 回答 1

0

您不应该在hgrc您正在使用的存储库的文件中而不是在您的mercurial.ini?

于 2012-08-05T03:15:38.870 回答