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

Re: Adding changeset-like functionality to subversion

From: Nuutti Kotivuori <naked_at_iki.fi>
Date: 2002-10-09 00:30:11 CEST

Noel Yap wrote:
> Since I'm still extremely new to subversion and I
> haven't yet used most of the commands, the following
> may be a dumb question.
>
> The reason one may want to retrieve easily the
> previous revision is to be able to create easily a
> change set (eg just diff the current revision against
> the previous one on the same branch).

Um, you don't need to find back the last change in that branch. You
can just diff with -r N:N-1. The branch was the same just before the
change.

But as a direct answer to your question - svn info can give the last
revision a certain file was changed at - but it works only for the
current working copy. So you would have to update to revision N-1 for
a file to see when it last changed before that.

-- Naked

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Oct 9 00:31:09 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.