Edgewall Software
Modify

Opened 14 years ago

Closed 14 years ago

#9792 closed enhancement (wontfix)

trac-post-commit-hook with Mercurial support

Reported by: kamil@… Owned by:
Priority: normal Milestone:
Component: plugin/mercurial Version:
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

It would be extremely useful to have this distributed with Trac in contrib/ and documented on the Mercurial page.

It looks like someone has already modified the existing hook to work with Mercurial: https://bitbucket.org/daybreaker/snippets/src/tip/mercurial/trac-post-commit-hook

I'd be glad to help out to make this happen if any work is required beyond just importing the script in to the repository.

Attachments (0)

Change History (1)

comment:1 by Remy Blank, 14 years ago

Resolution: wontfix
Status: newclosed

This isn't needed in 0.12 anymore, because:

  • The post-commit ticket changer has been reimplemented as a (VC-neutral) optional component.
  • Triggering post-commit actions is now done through trac-admin.

All you need is to configure the component correctly and call trac-admin $ENV changeset added from the post-commit hook of your repository. See CommitTicketUpdater for more information.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.