[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: 'cvs annotate' on reverted code.

From: Greg Stein <gstein_at_lyra.org>
Date: 2001-08-27 23:16:28 CEST

On Mon, Aug 27, 2001 at 12:26:51PM -0400, C. Scott Ananian wrote:
> On 27 Aug 2001 kfogel@tigris.org wrote:
> > Log:
> > Revert accidental commit 1.13, now back to contents of rev 1.12.
>
> This brings up another CVS problem, which I wonder if the SVN guys have
> thought of:

Actually, yes :-) BitKeeper has a feature which may solve what you're asking
for. I'm not sure that I understand it properly, but from talking with Larry
McVoy a while back, he described a feature of BK.

Essentially, you can get a history of *every* change to *every* line in your
blame/annotation like thing. I'm not sure how the UI would work, but I can
imagine a few variations.

Note that ViewCVS's annotate feature (like cvsblame) can annotate any
specific revision of a file. Thus, you could find that a section was changed
in 1.23; then you pull up the annotation for 1.22 and look at the prior
change to that section.

In an "all changes to <this>" type mode, I'd think you could supply some
kind of UI that would allow you to backtrace like that.

The problem effectively boils down to navigating a two dimensional space
(lines vs history-of-changes-to-that-line), yet you only have one dimension
for displaying that information (downwards on a page). Thus, the need for an
interesting UI to handle this properly.

And yes... I plan to enhance ViewCVS to also support SVN repositories. My
biggest problem has been a new name :-) A lesser problem is how much of the
ViewCVS-like functionality should go into mod_dav_svn vs. what goes into an
external CGI/system.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:37 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.