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

reverting to several versions ago

From: Ioan Vlad <i.vlad_at_yahoo.com>
Date: 2007-01-20 01:18:45 CET

I started to use Subversion as part of an open-source project I collaborate with. There is a repository on a central server. I grab updates with svn update, and contribute changes to select files with svn add and svn commit [path-to-files]. All is simple and nice.

The project has tests to verify if new bugs have been introduced or not. I submitted my changes several versions ago to the central repository (several people made changes after me), but only today I ran the tests, and they failed. I need to restore the whole package on my machine to the state it was in at one exact revision number (say n), run the tests, then restore the next revision number (n+1), as if I re-made the changes, run the tests again...

I looked in the svn book and the faq, and found "svn revert", but that seems to revert only one step back. How do I revert the whole package to the state it was at a specific revision n, several revisions ago?

Thank you,
I. Vlad

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Jan 20 01:19:13 2007

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.