Edgewall Software

Changes between Version 2 and Version 3 of 0.12/TracLinks


Ignore:
Timestamp:
Feb 10, 2010, 12:44:08 AM (10 years ago)
Author:
Christian Boos
Comment:

added some link resolver aliases, added notes about repositories and corrected the source: help

Legend:

Unmodified
Added
Removed
Modified
  • 0.12/TracLinks

    v2 v3  
    241241
    242242=== ticket: links ===
     243 ''aliase:'' bug:
    243244
    244245Besides the obvious `ticket:id` form, it is also possible to specify a list of tickets or even a range of tickets instead of the `id`. This generates a link to a custom query view containing this fixed set of tickets.
     
    268269=== Version Control related links ===
    269270==== source: links ====
     271 ''aliases:'' browser:, repos:
    270272
    271273The default behavior for a source:/some/path link is to open the directory browser
    272 if the path points to a directory and otherwise open the log view.
     274if the path points to a directory or to show the latest content of the file.
    273275
    274276It's also possible to link directly to a specific revision of a file like this:
     
    282284Finally, one can also highlight an arbitrary set of lines:
    283285 - `source:/some/file@123:10-20,100,103#L99` - highlight lines 10 to 20, and lines 100 and 103.
    284 ''(since 0.11)''
     286   ''(since 0.11)''
     287
     288Note that in presence of multiple repositories, the name of the repository is simply integrated in the path you specify for `source:`.
    285289
    286290==== export: links ====
     
    311315Finally, note that in all of the above, a revision range can be written indifferently `x:y` or `x-y`.
    312316
     317Again, in the presence of multiple repositories, the name of the repository should come first and be integrated in the path, e.g. `log:repos/branches` or `[20-40/repos]`.
     318
    313319----
    314320See also: WikiFormatting, TracWiki, WikiPageNames, InterTrac, InterWiki