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

Re: PREV() (Was: Adding changeset-like functionality to subversion)

From: Karl Fogel <kfogel_at_newton.ch.collab.net>
Date: 2002-10-10 18:50:01 CEST

Noel Yap <yap_noel@yahoo.com> writes:
> OTOH, unless I'm mistaken, a PREV(rev) functionality
> would still be helpful in implementing "svn blame" (or
> "svn etiology" ;-). I'm thinking the command can be
> implemented by going backwards through the physical
> revision history (eg the revisions in which the file
> really changed) of the file and annotating the file
> along the way. PREV(rev) would go a long way in
> helping with this unless there's a better way to
> implement it.

Yes, something like this would be useful, because you may not know the
exact revision where something changed, you just know its current
revision and want to see "the most recent change that produced this
content". (Of course, you can find out the last-changed-rev, but
right now it's inconvenient.)

But if you run 'svn log' on a file, you'll see all the revisions where
it changed.

-K

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Oct 10 19:17:38 2002

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.