Edgewall Software

Changes between Version 40 and Version 41 of TracLinks


Ignore:
Timestamp:
Dec 7, 2007, 6:26:09 PM (16 years ago)
Author:
Christian Boos
Comment:

Add syntax for linking to range of lines

Legend:

Unmodified
Added
Removed
Modified
  • TracLinks

    v40 v41  
    7979
    8080The default behavior for a source:/some/path link is to open the directory browser
    81 if the path points to a directory and otherwise open the log view.
    82 It's also possible to link directly to a specific revision of a file like this: source:/some/file@123
    83 or like this to link to the latest revision: source:/some/file@latest.
    84 If the revision is specified, one can even link to a specific line number: source:/some/file@123#L10
     81if the path points to a directory and otherwise open the log view.
     82
     83It's also possible to link directly to a specific revision of a file like this:
     84 - `source:/some/file@123` - link to the file's revision 123
     85 - `source:/some/file@head` - link explicitly to the latest revision of the file
     86
     87If the revision is specified, one can even link to a specific line number:
     88 - `source:/some/file@123#L10`
     89 - `source:/tag/0.10@head#L10`
     90
     91Finally, one can also highlight an arbitrary set of lines:
     92 - `source:/some/file@123:10-20,100,103#L99` - highlight lines 10 to 20, and lines 100 and 103.
     93''(since 0.11)''
    8594
    8695== export: links ==
    87 ''new in 0.11dev''
    8896
    8997To force the download of a file in the repository, as opposed to displaying it in the browser, use the {{{export}}} link.  Several forms are available: