Changes between Version 1 and Version 2 of TracLinks
- Timestamp:
- 2015-01-17 17:25:10 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracLinks
v1 v2 26 26 Ticket comments :: `comment:1:ticket:2` 27 27 Reports :: `{1}` or `report:1` 28 Milestones :: `milestone:1.0` 29 Attachment :: `attachment:example.tgz` (for current page attachment), `attachment:attachment.1073.diff:ticket:944` (absolute path) 28 30 Changesets :: `r1`, `[1]`, `changeset:1` or (restricted) `[1/trunk]`, `changeset:1/trunk` 29 31 Revision log :: `r1:3`, `[1:3]` or `log:@1:3`, `log:trunk@1:3`, `[2:5/trunk]` 30 Diffs :: `diff:@1:3`, `diff:tags/trac-0.9.2/wiki-default//tags/trac-0.9.3/wiki-default` 32 Diffs :: `diff:@1:3`, `diff:plugins/0.12/mercurial-plugin@9128:9953`, 33 `diff:tags/trac-0.9.2/wiki-default//tags/trac-0.9.3/wiki-default` 31 34 or `diff:trunk/trac@3538//sandbox/vc-refactoring@3539` 32 Milestones :: `milestone:1.0` 33 Attachment :: `attachment:example.tgz` (for current page attachment), `attachment:attachment.1073.diff:ticket:944` (absolute path) 34 Files :: `source:trunk/COPYING` 35 A specific file revision :: `source:/trunk/COPYING@200` 36 A particular line of a specific file revision :: `source:/trunk/COPYING@200#L25` 35 Files :: `source:trunk/COPYING`, `source:/trunk/COPYING@200` (at version 200), `source:/trunk/COPYING@200#L25` (at version 200, line 25) 37 36 }}} 38 37 {{{#!td … … 42 41 Ticket comments :: comment:1:ticket:2 43 42 Reports :: {1} or report:1 43 Milestones :: milestone:1.0 44 Attachment :: attachment:example.tgz (for current page attachment), attachment:attachment.1073.diff:ticket:944 (absolute path) 44 45 Changesets :: r1, [1], changeset:1 or (restricted) [1/trunk], changeset:1/trunk 45 46 Revision log :: r1:3, [1:3] or log:@1:3, log:trunk@1:3, [2:5/trunk] 46 Diffs :: diff:@1:3, diff:tags/trac-0.9.2/wiki-default//tags/trac-0.9.3/wiki-default 47 Diffs :: diff:@1:3, diff:plugins/0.12/mercurial-plugin@9128:9953, 48 diff:tags/trac-0.9.2/wiki-default//tags/trac-0.9.3/wiki-default 47 49 or diff:trunk/trac@3538//sandbox/vc-refactoring@3539 48 Milestones :: milestone:1.0 49 Attachment :: attachment:example.tgz (for current page attachment), attachment:attachment.1073.diff:ticket:944 (absolute path) 50 Files :: source:trunk/COPYING 51 A specific file revision :: source:/trunk/COPYING@200 52 A particular line of a specific file revision :: source:/trunk/COPYING@200#L25 50 Files :: source:trunk/COPYING, source:/trunk/COPYING@200 (at version 200), source:/trunk/COPYING@200#L25 (at version 200, line 25) 53 51 }}} 54 52 … … 258 256 - `ticket:123#comment:description` 259 257 258 === htdocs: links === 259 260 Use `htdocs:path/to/file` to reference files in the `htdocs` directory of the Trac environment, the [TracEnvironment#DirectoryStructure web resource directory]. 261 260 262 === query: links === 261 263 … … 291 293 === wiki: links === 292 294 293 See WikiPageNames and [#QuotingspaceinTracLinks quoting space in TracLinks] above. 295 See WikiPageNames and [#QuotingspaceinTracLinks quoting space in TracLinks] above. It is possible to create a link to a specific page revision using the syntax WikiStart@1. 294 296 295 297 === Version Control related links === 298 299 It should be noted that multiple repository support works by creating a kind of virtual namespace for versioned files in which the toplevel folders correspond to the repository names. Therefore, in presence of multiple repositories, a ''/path'' specification in the syntax of links detailed below should start with the name of the repository. If omitted, the default repository is used. In case a toplevel folder of the default repository has the same name as a repository, the latter "wins". One can always access such folder by fully qualifying it (the default repository can be an alias of a named repository, or conversely, it is always possible to create an alias for the default repository, ask your Trac administrator). 300 301 For example, `source:/trunk/COPYING` targets the path `/trunk/COPYING` in the default repository, whereas `source:/projectA/trunk/COPYING` targets the path `/trunk/COPYING` in the repository named `projectA`. This can be the same file if `'projectA'` is an alias to the default repository or if `''` (the default repository) is an alias to `'projectA'`. 302 296 303 ==== source: links ==== 297 304 ''aliases:'' `browser:`, `repos:`