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

how to make a previous repository version the actual one?

From: Gabor Nagypal <nagypalg_at_gmail.com>
Date: 2005-02-02 15:13:42 CET

Hi,

I am a subversion newbie, so perhaps this is a trivial question, but I
do not see the proper way to do it...

Assume that you have a project with a complicated directory structure,
lots of files etc. Suppose, you started a line of change, committed
many changes several times and after a week you notice, ups, it is
stupid what I am doing. Now I would like to return to the original
state of the project (i.e. two weeks ago).

My naive way of doing this would be:

svn up -r XX (where XX is the last good known version)
svn ci (check out this version as the new HEAD version)

But it does not work, because svn ci doesn't do anything, as none of
my files has changed...

So, what would be the best way to use subversion as a 'time machine',
and return to an older version?

Gabor

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Feb 2 15:19:05 2005

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.