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

Re: From a cvs user... about revisions

From: Pat Farrell <pfarrell_at_pfarrell.com>
Date: Sun, 11 Oct 2009 10:45:27 -0400

Harry Putnam wrote:
> I want to retrieve a certain copy of a file... where a change
> happened. According to what I'm reading, that change may not be at
> the last version number....or possibly even the last several version
> numbers... so how do I find the change quickly?

Unlike CVS which assigns a revision number to a file, SVN assigns a
revision number to the whole repository.

But the log for each file has the revision history for that file, its
just that the number will not go up by one for each change to the file.

Use the 'svn log <file>" command to show the history of the <file>
and you will see the specific revision numbers, just use that in the SVN
command

Here is a live snippet of one log of one of my files

------------------------------------------------------------------------
r4195 | pfarrell | 2009-10-07 00:30:03 -0400 (Wed, 07 Oct 2009) | 1 line

create Pat private branch
------------------------------------------------------------------------
r4024 | pfarrell | 2009-10-01 02:02:04 -0400 (Thu, 01 Oct 2009) | 2 lines

use safeForwardToView()

------------------------------------------------------------------------
r3990 | pfarrell | 2009-09-29 14:29:16 -0400 (Tue, 29 Sep 2009) | 3 lines

add subdirectory 'closed/' to urls that we expect to access when logged in.

------------------------------------------------------------------------

so if you want revision -r 3990, that's the one to use

-- 
Pat Farrell
http://www.pfarrell.com/
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2406372
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-10-11 16:46:16 CEST

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

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