Opened 14 years ago

Closed 13 years ago

#200 closed task (fixed)

Colour shading of svn blame to show line age

Reported by: Jari Häkkinen Owned by: Peter Johansson
Priority: major Milestone: 0.6
Component: output Version: trunk
Keywords: Cc:

Description (last modified by Jari Häkkinen)

Stolen from trac ticket http://trac.edgewall.org/ticket/629#comment:28

Not a requirement, but a "would be nice" feature for blame: in Emacs,
the blame ("annotate") mode colors source lines by their age. Old
lines are blue, new are bright red, and so on. This way the recent
changes stand out nicely. I would suggest doing this only for the rev
numbers or dates columns in the blame output in trac, since the source
lines already have their own syntax colorization.

Done so in r4484, looks great, thanks for the suggestion!

Change History (8)

comment:1 Changed 14 years ago by Jari Häkkinen

Description: modified (diff)

comment:2 Changed 14 years ago by Peter Johansson

I could imagine that will look great. A question though: Is age measured in revsions or in days, or is it the same as for the plots (option --revisions)???

comment:3 Changed 13 years ago by Jari Häkkinen

Milestone: 0.6

comment:4 Changed 13 years ago by Peter Johansson

(In [373]) adding function transforming decimal int to hexadecimal refs #200

comment:5 Changed 13 years ago by Peter Johansson

Status: newassigned

Mixed up the tickets. Comment in r395 should be to this ticket.

"font color shading depending on age of line in blame output (refs #160). Yet to be implemented is when x-axis is rev rather than default time, in which case the shading should depend on the revision."

comment:6 Changed 13 years ago by Peter Johansson

ERROR in r395: The log used to find first and last revision date is a log on the single file. We should use a log on the tree.

comment:7 Changed 13 years ago by Peter Johansson

(In [398]) refs #200 using same grey-scale in blame output

comment:8 Changed 13 years ago by Peter Johansson

Resolution: fixed
Status: assignedclosed

(In [399]) fixes #200. shading is done linearly on x-axis in plot, which mean on time default and on revs when --revisions are used

Note: See TracTickets for help on using tickets.