Ticket #2100 (closed enhancement: fixed)
Implement a TracLinks syntax for targeting line numbers in repository files
| Reported by: | cboos | Owned by: | cmlenz |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.9 |
| Component: | version control/browser | Version: | devel |
| Severity: | normal | Keywords: | source link line number |
| Cc: |
Description
In order to support code reviews, either formal or informal, it's necessary to be able to precisely refer to line numbers.
Trac should support a simple syntax for this. I would suggest the following (lifted from ticket #2011):
- source:trunk/README@head or source:trunk/README@123 the new peg revision notation
- source:trunk/README@123#100 the new peg revision notation, with line number (line 100 in revision 123)
- source:trunk/README@123#100:110 line number range support?
While it's obvious what the target of a link to a single line number should be, the target of a range is a little bit less obvious.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.


