[Trac-tickets] Re: [The Trac Project] #2011: Use SVN-like peg
revisions instead of own syntax
The Trac Project
noreply at edgewall.com
Mon Sep 19 09:16:22 CDT 2005
#2011: Use SVN-like peg revisions instead of own syntax
-------------------------+--------------------------------------------------
Reporter: Manuzhai | Owner: cboos
Type: enhancement | Status: assigned
Priority: normal | Milestone: 0.9
Component: browser | Version: 0.9b1
Severity: minor | Resolution:
Keywords: |
-------------------------+--------------------------------------------------
Comment (by cboos):
By the way, I just realized that supporting line number targets
with "#" will not necessarily introduce an incompatibility:
simply make the "@rev" part mandatory when referring to line number,
which seems a good thing to do anyway... (line 100 of the "head"... which
head?)
So:
* source:trunk/README#head or source:trunk/README#123 [[BR]]
the old notation for the revision, would still work.
* source:trunk/README at head or source:trunk/README at 123 [[BR]]
the new peg revision notation
* source:trunk/README at 123#100 [[BR]]
the new peg revision notation, with line number (line 100 in revision
123)
* source:trunk/README at 123#100:110 [[BR]]
line number range support?
Yes, one could still write source:trunk/README at head#100, but then
the potential problem with that is made quite obvious...
--
Ticket URL: <http://projects.edgewall.com/trac/ticket/2011>
The Trac Project <http://trac.edgewall.com/>
More information about the Trac-Tickets
mailing list