6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
10/16/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#197] have annotate mode link to line's prior version
*
Your Email Address
*
Spam protection
Enter the letters below:
. .__..___. __ . . | [__] | / `\ / |___| | | \__. \/
Comment
> I have implemented this feature in another CVS visualizer written in > 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.
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers