6.0.0-alpha14
6/30/25

[#197] have annotate mode link to line's prior version
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

History
02/03/2007 03:56:31 AM Chuck Hagenbuch Assigned to Chuck Hagenbuch
 
02/03/2007 03:56:20 AM Chuck Hagenbuch Comment #7
State ⇒ Resolved
Reply to this comment
Implemented in HEAD.
02/03/2007 03:25:46 AM Chuck Hagenbuch Deleted Original Message
 
01/03/2006 01:56:07 AM oyasumi+chora (at) gmail (dot) com Comment #6
New Attachment: get_diff_chunks.pike
Reply to this 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.
02/18/2005 09:12:21 PM Jan Schneider Taken from Horde DevelopersHorde Developers
 
02/18/2005 09:12:03 PM Jan Schneider Comment #4
State ⇒ Accepted
Version ⇒ HEAD
Reply to this comment
Set correct version.
12/07/2004 11:43:25 PM Chuck Hagenbuch Assigned to Horde DevelopersHorde Developers
State ⇒ Assigned
 
05/20/2004 09:08:07 AM Jan Schneider Comment #3
State ⇒ Accepted
Reply to this comment
That sounds like a nice feature. Actually something that I'm working 
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.
05/20/2004 12:21:19 AM danielc (at) analysisandsolutions (dot) com Comment #2 Reply to this comment
In editing, I forgot to mention, my experience with Chora comes from 
viewing cvs.php.net.  I don't know which version of Chora is being run 
there, but I'm sure Chuck does.
05/20/2004 12:19:06 AM danielc (at) analysisandsolutions (dot) com Comment #1
Priority ⇒ 1. Low
Type ⇒ Enhancement
Queue ⇒ Chora
State ⇒ New
Reply to this comment
When looking at a file in annotate mode, it indicates the version each 
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.

Saved Queries