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

RE: how to make a previous repository version the actual one?

From: Pim Bliek <pim.bliek_at_logicacmg.com>
Date: 2005-02-02 15:24:10 CET

Ehm, I am quite newbie too, but as far as I am aware:

svn up -r XX should do what you want, if I understand your willings.

I cannot get my head around why you want to run a svn ci and call it a
checkout in your comments ;). Both is weird though. Why would you want to
checkout or checkin anything? You just want to 'time-warp' to a certain
revision --> svn up. No checking or checkouts needed. You don't want to
change anything in the repository nor do you want to checkout a working
copy, you already did. You just want to 'see' a different revision of it...?

What also 'works' is removing your working copy completely, and do a new
checkout of the revision you wanted.

Anyway, good luck :)

Pim

-----Original Message-----
From: Gabor Nagypal [mailto:nagypalg@gmail.com]
Sent: woensdag 2 februari 2005 15:14
To: users@subversion.tigris.org
Subject: how to make a previous repository version the actual one?

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

This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.

---------------------------------------------------------------------
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:29:24 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.