[Trac-tickets] Re: [The Trac Project] #2011: Use SVN-like peg
revisions instead of own syntax
The Trac Project
noreply at edgewall.com
Sun Sep 11 09:28:10 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: |
-------------------------+--------------------------------------------------
Changes (by cboos):
* milestone: => 0.9
Comment:
... and as a follow-up to r2199, the link to the '''Rev''' of the file
inside the ''Revision Log View'' could be displayed as `@xyz`.
{{{
#!diff
Index: log.cs
===================================================================
--- log.cs (revision 2202)
+++ log.cs (working copy)
@@ -108,7 +108,7 @@
<td class="date"><?cs var:log.changes[item.rev].date ?></td>
<td class="rev">
<a href="<?cs var:item.browser_href ?>"
- title="Browse at revision <?cs var:item.rev ?>"><?cs
var:item.rev ?></a>
+ title="Browse at revision <?cs var:item.rev ?>">@<?cs
var:item.rev ?></a>
</td>
<td class="chgset">
<a href="<?cs var:item.changeset_href ?>"
}}}
I think this change is important to bring in 0.9,
as it will make it easier for people to adopt the
new notation and deprecate the old one.
The symbol `#` should be used in a way consistent with
the wiki page name syntax, to refer to a location within an object.
In the case of `source:` links, this could be the line number (see #2035).
--
Ticket URL: <http://projects.edgewall.com/trac/ticket/2011>
The Trac Project <http://trac.edgewall.com/>
More information about the Trac-Tickets
mailing list