Changes between Version 1 and Version 2 of TracTicketChangesetsPlugin


Ignore:
Timestamp:
Jun 4, 2010, 8:45:33 AM (14 years ago)
Author:
Mikael Relbe
Comment:

Removed inappropriate tags, adjusted for bad HTML rendering

Legend:

Unmodified
Added
Removed
Modified
  • TracTicketChangesetsPlugin

    v1 v2  
    1111Console administration commands are available for resynchronizing relations between tickets and changesets.
    1212
    13 The source of this plugin is based on code provided distributed with Trac 0.12 (tracopt/ticket/commit_updater.py).
     13The source of this plugin is based on code provided distributed with Trac 0.12 (tracopt/ticket/commit_updater.py). The plugin works with multiple repositories.
    1414
    1515'''This plugin is not compatible with Trac 0.11'''
     
    5454 1. The Trac environment needs to be upgraded:
    5555{{{
    56 trac-admin $ENV upgrade
     56trac-admin %ENV% upgrade
    5757}}}
    5858 1. Re-synchronize repositories (optional, but recommended before next step which will scan all existing commit messages):
    5959{{{
    60 trac-admin $ENV repository resync "*"
     60trac-admin $ENV repository resync "*&"
    6161}}}
    6262 1. Build relations between tickets and changesets:
     
    6767    a. Produce a diff-like output for your analysis, which does not affect the database, before re-formatting existing commit messages:
    6868{{{
    69 trac-admin $ENV ticket_changesets diff > out.diff
     69trac-admin $ENV ticket_changesets diff > out.diff
    7070}}}
    7171       Examine out.diff and assert that re-formatting is sensible before next step.
     
    8282@SET REPOS=%1
    8383@SET REV=%2
    84 @trac-admin "%TRAC_ENV%" changeset added "%REPOS%" "%REV%"
     84@trac-admin "%TRAC_ENV%" changeset added "%REPOS%" "%REV%"
    8585}}}
    8686    a. post-revprop-change.cmd
     
    9191@SET REPOS=%1
    9292@SET REV=%2
    93 @trac-admin "%TRAC_ENV%" changeset modified "%REPOS%" %REV%
     93@trac-admin "%TRAC_ENV%" changeset modified "%REPOS" "%REV%"
    9494}}}
    9595