bzexport /

Filename Size Date modified Message
10 B
1.5 KB
39.3 KB
4.7 KB
10.8 KB
197 B
bzexport: a Mercurial extension for attaching patches from a
  Mercurial repository to bugzilla from the command line.


1) Clone this repository somewhere on your local machine:
   hg clone
2) Edit your ~/.hgrc and add the following to enable the extension:
   bzexport = /path/to/bzexport/


bzexport attempts to be clever and borrow your Bugzilla login cookies
from your Firefox profile. This does not work on the windows binary
releases of Mercurial, as shipped with MozillaBuild, so you'll need
to add your username and password to your .hgrc as described below.
(The technical reason is that the binary Mercurial releases use
py2exe to freeze a Python install into the hg binary, which leaves
out modules that aren't used, including the sqlite3 module which
bzexport needs to read cookies.sqlite.)


bzexport options can be added in a [bzexport] section in your .hgrc.
Currently supported options are:
# Your bugzilla login, only necessary if bzexport can't locate
# your Firefox profile, or if you're on Windows using
# a binary Mercurial release.
username =

# Your bugzilla password, see above.
password = secret

# URL of the Bugzilla server
bugzilla =

# URL of the corresponding BzAPI server
api_server =