[Trac-tickets] [The Trac Project] #3533: Display shortened revision
numbers
The Trac Project
noreply at edgewall.com
Tue Aug 8 11:02:50 CDT 2006
#3533: Display shortened revision numbers
-----------------------------------+----------------------------------------
Reporter: thomas.moschny at gmx.de | Owner: cmlenz
Type: enhancement | Status: new
Priority: normal | Milestone: 0.11
Component: version control | Version: devel
Severity: normal | Keywords:
-----------------------------------+----------------------------------------
Version control systems other than subversion might have substantial
longer revision identifiers (e.g. Mercurial, Monotone). These revision ids
should not always be displayed to the user in their entirety.
To solve this, a method should be added to the vc-api that lets the vc-
backend convert a "full" revision id into a "displayed" revision number.
An additional parameter could choose the style ("short", "mid-size",
"full", whatever...), depending on the context where the revision id is to
be displayed.
(The alternate approach, to modify the backend so that it always hands
shortened revision ids to trac, seems very hackish to me.)
--
Ticket URL: <http://trac.edgewall.org/ticket/3533>
The Trac Project <http://trac.edgewall.com/>
More information about the Trac-Tickets
mailing list