Version 1 (modified by bmcquay, 10 years ago) (diff)

New hack PublishRevertPlugin, created by bmcquay

Publish and Revert all files associated with a ticket


This plugin in used in conjunction with subversion post-commit hook to associate subversion revision numbers with tickets. It also allows for easy publishing of the files associated with a ticket to a production environment as well as reverting those changes. This plugin is intended to connect the development process enabled by Trac to the publication of those changes to a production environment.

Bugs/Feature Requests

Existing bugs and feature requests for PublishRevertPlugin are here.

If you have any issues, create a new ticket.


Download the zipped source from [download:publishrevertplugin here].


You can check out PublishRevertPlugin from here using Subversion, or browse the source with Trac.


Developers working on a ticket will commit their changes to subversion and reference the ticket in their subversion comments. The subversion post-commit hook associates the changesets with the referenced ticket. The normal ticket view is enhanced by adding a listing all the revisions that the developers have committed related to the ticket. Clicking on 'All' in the ticket view will take you to a complete listing of every file in every changeset and list for each file the latest revision number that modified the file. This page looks similar to the changeset view except that it is a set of changesets. At the top of this view there will be a publish and revert button which will perform an svn update on each of the files in the set of changesets. This will be done on in a production environment to update the modified files to the specific revision numbers listed for the ticket.

Recent Changes

1857 by bmcquay on 2007-01-10 18:52:11


1715 by bmcquay on 2006-12-20 22:57:43

fixing bugs

1714 by bmcquay on 2006-12-20 01:50:54

adding pre-commit hooks. fixing some bugs



Author: bmcquay