[RFC] Pre-commit hooks and other requests

Robert Collins robertc at robertcollins.net
Tue Jun 26 23:26:38 BST 2007


On Tue, 2007-06-26 at 23:41 +1000, Ian Clatworthy wrote:
> Before I go overboard restructuring commit, I'd like to have a feel for
>  any future features that are *likely* to be requested. For example,
> right now commit supports hooks for code to execute after a commit is
> successful. Is there a need for pre-commit hooks or some "mid-commit" hooks?

There certainly are desires for that; but I think that as long as we
meet our performance goals folk can always tweak later to add such
hooks.

pre-commit hooks are complex because what is being committed may not
match whats on disk in terms of shape; and some hooks may want to mutate
the tree (e.g. for $id$ usage).

-Rob
-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070627/839ad473/attachment-0001.pgp 


More information about the bazaar mailing list