Commit Graph

26 Commits

Author SHA1 Message Date
Jim Hague
463ab45a63 Revise Bugzilla module comments into extension help.
Revise the comments detailing module usage at the start of the Bugzilla
extension into extension help text.

Expand the detail given on extension settings, in an attempt to permit
the user to configure successfully without having to study the extension
code. Show a sample configuration as well.
2008-12-10 16:29:53 +00:00
Jim Hague
791ab1df7d Fix Bugzilla integration to work with new Bugzilla 3.2.
Bugzilla 3.2 changes the type of all MySQL tables it uses from MyISAM
to InnoDB. MyISAM does not support transactions, and performs an implied
commit after each update. InnoDB does support transactions, and so
exposes a bug where changes to the Bugzilla database were not committed,
and so with 3.2 are lost when the database connection closes.
2008-12-09 09:58:13 +00:00
Dirkjan Ochtman
9ef9b3e5db cmdutil: use change contexts for cset-printer and cset-templater 2008-11-14 13:59:25 +01:00
Benoit Boissinot
ea7fe6dacc remove unused variables 2008-10-28 19:25:26 +01:00
Jim Hague
788364de51 Add support for Bugzilla 3.0 series to bugzilla hook.
The only difference is 'fieldid' in table 'fielddefs' got renamed
to 'id' for 3.0.
2008-08-29 20:36:55 +01:00
Matt Mackall
a65ef7bc5d util: add sort helper 2008-06-27 18:28:45 -05:00
Matt Mackall
fbb5127472 use repo[changeid] to get a changectx 2008-06-26 14:35:46 -05:00
Dirkjan Ochtman
2f149e4634 replace usage of os.popen() with util.popen()
To make this possible, I added a mode parameter to both implementations of
util.popen(), defaulting to 'r' (as it does in the Python stdlib).
2008-04-14 14:34:38 +02:00
Joel Rosdahl
5dae3059a0 Expand import * to allow Pyflakes to find problems 2008-03-06 22:23:26 +01:00
Matt Mackall
a849fab9e4 templater: move email function to util 2008-01-31 14:44:19 -06:00
Bryan O'Sullivan
dedbe183d4 Fix typo in bugzilla extension. 2007-05-08 11:51:16 -07:00
Benoit Boissinot
dfdfde18a2 bugzilla: use contexts, simplify 2006-12-26 03:25:13 +01:00
Matt Mackall
296d6a7cb8 Simplify i18n imports 2006-12-14 20:25:19 -06:00
Matt Mackall
f17a4e1934 Replace demandload with new demandimport 2006-12-13 13:27:09 -06:00
Matt Mackall
2623870448 Remove deprecated old-style branch support 2006-12-12 18:16:23 -06:00
Matt Mackall
a3525dd4cb update bugzilla extension to use ui buffers 2006-12-01 01:29:14 -06:00
Matt Mackall
c50c09da0a templates: move changeset templating bits to cmdutils 2006-11-13 13:26:57 -06:00
Alexis S. L. Carvalho
753a94bc88 use ui.readsections in the bugzilla extension 2006-10-17 17:04:26 -03:00
Vadim Gelfer
25b53cf653 bugzilla: allow to map between committer email and bugzilla user name. 2006-05-18 09:23:43 -07:00
Vadim Gelfer
42391c45d8 bugzilla hook: skip empty groups. 2006-05-09 14:39:56 -07:00
Vadim Gelfer
41eb4e2c6e reverse sense of return value from python hooks.
old scheme (False/None/0/'' == fail) made coding style
unnatural, did not allow use of mercurial commands as hooks.

new scheme (False/None/0 == pass) is pythonic, does not require peculiar
"return True" at ends of hooks, allows hooks like this:

[hooks]
# update working dir after push into this repo
changegroup.update = python:mercurial.commands.update
2006-05-08 10:59:58 -07:00
Vadim Gelfer
dd7442a4f4 merge with crew. 2006-05-08 08:04:46 -07:00
Vadim Gelfer
c40534f466 move stringio class from bugzilla extension into templater module. 2006-05-04 12:02:32 -07:00
Vadim Gelfer
901f2c1543 define standard name for base url to use when printing hgweb urls.
useful for bugzilla integration, email notifications, other stuffs.
2006-05-04 11:32:00 -07:00
Vadim Gelfer
de8fc55e1f only import mysql module if hook used. 2006-05-03 14:56:07 -07:00
Vadim Gelfer
747e07d661 add bugzilla integration hook. example of writing hook in python.
hook updates bugzilla bugs when it sees commit comments that mention
bug id, such as "i fixed bug 77".

only bugzilla 2.16 supported yet, but easy to extend. bugzilla versions
have different schema, i have not used later than 2.16.
2006-05-03 14:40:39 -07:00