Changes between Version 11 and Version 12 of TracTicketChangesetsPlugin

Jun 22, 2010, 8:34:41 AM (8 years ago)
Mikael Relbe

Admin commands section added


  • TracTicketChangesetsPlugin

    v11 v12  
    4949The macros `CommitMessage(repo, rev)` and `TicketChangesets(ticket)` are provided to present a commit message for a given repository and revision, and all changesets that are related to a given ticket.
    51 Console administration commands are available for resynchronizing relations between tickets and changesets:
    52  * `trac-admin /path/to/env ticket_changesets diff`
    53  * `trac-admin /path/to/env ticket_changesets reformat` (DANGEROUS!)
    54  * `trac-admin /path/to/env ticket_changesets resync`
    56 Please see the in-built documentation for more details.
     52== Console administration commands ==
     54Console administration commands are available for retrieving and re-synchronizing ticket-changesets relations, and reformatting existing ticket commit messages.
     57 `trac-admin /path/to/env ticket_changesets diff`::
     58 Examine ticket commit messages before reformat.
     60 Generate a diff-like output for analysis before reformatting. The database will not be changed. Before this operation, you may want to run
     62trac-admin $ENV repository resync "*"
     66 `trac-admin /path/to/env ticket_changesets get [ticketid]`::
     67 Get a comma-separated list of related revisions (#7267).
     69 List format:
     71#ticketid: rev/reponame,...
     74 "/reponame" is left out for the default repository.
     76 All tickets related to changesets are listed if ticketid is omitted, one ticket on each line. If no changeset relation exists, "None" is displayed.
     79 `trac-admin /path/to/env ticket_changesets reformat` '''(DANGEROUS!)'''::
     80 Reformat ticket commit messages.
     82 Before this operation, you may want to run:
     84trac-admin $ENV repository resync "*"
     86 and then analyse the output of
     88trac-admin $ENV ticket_changesets diff
     92 `trac-admin /path/to/env ticket_changesets resync`::
     93 Re-synchronize ticket changesets with all repositories
     95 Relations between tickets and changesets are re-built by examining all commit messages, in all repositories, for ticket references. Ticket comments are neither updated nor added due to new discoveries.
     97 Before this operation, you may want to run:
     99trac-admin $ENV repository resync "*"
    58103== Installation instructions ==