Summary | have annotate mode link to line's prior version |
Queue | Chora |
Queue Version | HEAD |
Type | Enhancement |
State | Resolved |
Priority | 1. Low |
Owners | chuck (at) horde (dot) org |
Requester | danielc (at) analysisandsolutions (dot) com |
Created | 05/20/2004 (7711 days ago) |
Due | |
Updated | 02/03/2007 (6722 days ago) |
Assigned | 12/07/2004 (7510 days ago) |
Resolved | 02/03/2007 (6722 days ago) |
Milestone | |
Patch | No |
State ⇒ Resolved
New Attachment: get_diff_chunks.pike
Pike: Code Librarian. Here is the algorithm for reading diffs produced
by cvs rdiff, picking out from-line in revision r1 and to-line in
revision r2 for every diff chunk between the two revisions. It is used
for generating the line number links in, for instance,
http://pike.ida.liu.se/development/cvs/diff-popup.xml?module=Pike&file=7.7/src/post_modules/GTK2/source/gtkcomboboxentry.pre&from=1.1&to=1.2
The output produced is a mapping with an array of chunk mappings
listing their from/to line numbers and number of diff lines in either
revision, and an array of diff lines, one for each line in the
produced unidiff. Each diff line mapping also lists the corresponding
lines in the from/to revisions.
State ⇒ Accepted
Version ⇒ HEAD
State ⇒ Assigned
State ⇒ Accepted
around very often at the moment by having several views of the same
file open at the same time.
Does anyone have an idea how this could be implemented cleanly UI-wise?
Btw. cvs.php.net currently runs CVS HEAD code from a few weeks ago.
viewing cvs.php.net. I don't know which version of Chora is being run
there, but I'm sure Chuck does.
Priority ⇒ 1. Low
Type ⇒ Enhancement
Queue ⇒ Chora
State ⇒ New
line was modified in. That version number (let's say x) is
hyperlinked to the view mode of that version. But, what I'm usually
looking for is what was on the given line _before_ it was changed.
So, it would be very helpful to have a link to that line in version
x-1 of the file, with the display of x-1 being in annotate mode too,
so I can jump back another revision again if necessary.