Edgewall Software

Ticket #7743 (new enhancement)

Opened 3 months ago

Last modified 3 months ago

Add/document commit-hook

Reported by: Marcus Lindblom <macke@…> Owned by: cboos
Priority: normal Milestone: not applicable
Component: plugin/mercurial Version: 0.11
Severity: normal Keywords:
Cc:

Description

There is a commit hook here which IMHO should be incorporated into the plugin.

The comments also refer to a built-in hook, but I was unable to find it (neither in code nor on the TracMercurial page).

Attachments

Change History

Changed 3 months ago by cboos

The hook itself: http://www.bitbucket.org/madssj/mercurial-trac-hook/src/tip/trachook.py

Surely having a changeset hook for TracMercurial would be a good thing, but I prefer to base that on the new emerging interface for changeset change notification, as started in #7723.

That way the mercurial hook itself will be quite minimalistic, and the actions to be taken (closing tickets, etc.) would be done externally.

Add/Change #7743 (Add/document commit-hook)

Author



Change Properties
<Author field>
Action
as new
as The resolution will be set. Next status will be 'closed'
to The owner will change from cboos. Next status will be 'new'
The owner will change from cboos to anonymous. Next status will be 'assigned'
 
Note: See TracTickets for help on using tickets.