Changes between Version 1 and Version 2 of TracRepositoryAdmin


Ignore:
Timestamp:
May 5, 2015 8:42:45 PM (4 years ago)
Author:
trac
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • TracRepositoryAdmin

    v1 v2  
    178178
    179179
     180== Automatic changeset references in tickets
     181
     182You can automatically add a reference to the changeset as a ticket comment whenever changes are committed to the repository. The description of the commit needs to contain one of the following formulas:
     183 * '''`Refs #123`''' - to reference this changeset in `#123` ticket
     184 * '''`Fixes #123`''' - to reference this changeset and close `#123` ticket with the default status ''fixed''
     185
     186This functionality requires installing a post-commit hook as described in [#ExplicitSync], and enabling the optional commit updater components by adding the following line to the `[components]` section of your [wiki:TracIni#components-section trac.ini], or enabling the components in the //Plugins// admin panel.
     187{{{#!ini
     188tracopt.ticket.commit_updater.* = enabled
     189}}}
     190For more information, see the documentation of the `CommitTicketUpdater` component in the //Plugins// admin panel and the [trac:CommitTicketUpdater] page.
     191
    180192== Migration from a single-repository setup (Subversion) #Migration
    181193The following procedure illustrates a typical migration from a Subversion single-repository setup to multiple repositories.
     
    191203The following procedure illustrates a typical migration from a Mercurial single-repository setup to multiple repositories. Please note that at the time of writing, no initial resynchronization or any hooks are necessary for Mercurial repositories - see [trac:ticket:9485 #9485] for more information.
    192204
    193  1. Upgrade to the latest version of the TracMercurial plugin.
     205 1. Upgrade to the latest version of the [trac:TracMercurial] plugin.
    194206 1. Remove the default repository specification from the `[trac] repository_dir` option.
    195207 1. Add the main repository as a named repository.