Skip to content

Instantly share code, notes, and snippets.

@pluto-atom-4
Created March 9, 2014 20:09
Show Gist options
  • Save pluto-atom-4/9453838 to your computer and use it in GitHub Desktop.
Save pluto-atom-4/9453838 to your computer and use it in GitHub Desktop.
# Note: to install latest mercurial on Ubuntu
# sudo add-apt-repository -y ppa:tortoisehg-ppa/releases
# sudo apt-get update
# sudo apt-get install mercurial tortoisehg
#
[extensions]
hgext.bugzilla =
[hooks]
# run bugzilla hook on every push to the remote repository
outgoing.bugzilla = python:hgext.bugzilla.hook
[bugzilla]
bzurl=http://vagrant.example.local/bugzilla
user=bugzilla__valid_user@example.local
password=PUT_VALID_PASSWORD_HERE
version=xmlrpc
template=Changeset {node|short} in {root|basename}.
{hgweb}/{webroot}/rev/{node|short}\n
{desc}\n
strip=4
[web]
baseurl=http://hg.example.local/hg
#
# example. post comment at bugzilla
# ---------------------------------------
# 1 bugs 2014-03-09 15:45:03 EDT
# Changeset 1b26d331dbd9 in jenkins_agrregate_results.
# http://hg.example.local/hg/jenkins_agrregate_results/rev/1b26d331dbd9
# Bug 1 - added a spec to compare two integer
#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment