Modify ↓
Opened 15 years ago
Closed 15 years ago
#9792 closed enhancement (wontfix)
trac-post-commit-hook with Mercurial support
| Reported by: | 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)
Note:
See TracTickets
for help on using tickets.



This isn't needed in 0.12 anymore, because:
trac-admin.All you need is to configure the component correctly and call
trac-admin $ENV changeset addedfrom the post-commit hook of your repository. See CommitTicketUpdater for more information.