Display revno, not just version number
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
loggerhead |
Fix Released
|
Wishlist
|
Cruz Bishop |
Bug Description
Loggerhead now displays its version number in pages (see bug #370155), but it would be useful if it displayed the revno as well, if it's running from a branch.
bzrlib's revno might be useful too.
Code for this could probably be stolen from bzr's version command.
I've had a few ideas for how exactly to display it:
> My first idea was to make the line at the bottom something like:
>
> Loggerhead <abbr title="r123 (2009-06-25) revid:xxx"
>
> It might make sense to do it like edge.launchpad does, something like
> one of these:
>
> Loggerhead 1.10 (r123) ...
> Loggerhead 1.10 (<abbr title="$revid (2009-06-
> Loggerhead 1.10 (<abbr title="2009-06-25 ($revid)
Related branches
- j.c.sackett (community): Approve
-
Diff: 56 lines (+19/-1)3 files modifiedloggerhead/__init__.py (+10/-0)
loggerhead/templatefunctions.py (+4/-0)
loggerhead/templates/macros.pt (+5/-1)
Changed in loggerhead: | |
status: | Triaged → In Progress |
assignee: | nobody → Cruz Bishop (cruzjbishop) |
Changed in loggerhead: | |
assignee: | Cruz Bishop (cruzjbishop) → nobody |
Changed in loggerhead: | |
status: | Fix Committed → Fix Released |
Bonus points if the revno links to the loggerhead revision on launchpad ;)