Edgewall Software

Changes between Version 15 and Version 16 of 1.3/TracRepositoryAdmin


Ignore:
Timestamp:
Nov 5, 2017, 5:08:24 AM (6 years ago)
Author:
Ryan J Ollos
Comment:

Additional documentation from gmessage:trac-users:LoKOeStPFTs/yV_qZXMRCgAJ.

Legend:

Unmodified
Added
Removed
Modified
  • 1.3/TracRepositoryAdmin

    v15 v16  
    5151|| The `url` attribute specifies the root URL to be used for checking out from the repository. When specified, a "Repository URL" link is added to the context navigation links in the source browser, that can be copied into the tool used for creating the working copy. ||
    5252
    53 For some version control systems, it is possible to specify not only the path to the repository in the `dir` attribute, but also a ''scope'' within the repository. Trac will then only show information related to the files and changesets below that scope. The Subversion backend for Trac supports this. For other types, check the corresponding plugin's documentation.
     53=== Scoped Repository
     54
     55For some version control systems, it is possible to specify not only the path to the repository in the `dir` attribute, but also a ''scope'' within the repository. Trac will then only show information related to the files and changesets below that scope. The scope is specified by appending a path that is relative to the repository root. The Subversion backend for Trac supports this.
     56
     57For example, assume a repository at filesystem path `/var/svn/repos1` with several directories at the root of the repository: `/proj1`, `/proj2`, etc. The following configuration would scope the repository to `/proj1`:
     58{{{#!ini
     59proj1.dir = /var/svn/repos1/proj1
     60proj1.type = svn
     61}}}
     62
     63For other repository types, check the corresponding plugin's documentation.
    5464
    5565=== In the database #ReposDatabase