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

Re: rolling back to a previous version

From: Jim Correia <jim.correia_at_pobox.com>
Date: 2005-09-06 21:03:20 CEST

On Sep 6, 2005, at 2:56 PM, Phillip Susi wrote:

> svn update -r 9200
>
>
> Rupinder Singh Mazara wrote:
>
>> hi all
>> how can i rollback to a previous version
>> for example my current svn version is 9210 and i want to rollback
>> the entire tree to 9200 how can that be achieved

If by rollback you mean undo changes 9200 through 9200, that will not
do what the original poster wants.

That will rollback the working copy to 9200, but will not make the
HEAD revision look like 9200. To do that you have to do a reverse
merge the commit.

This is documented in the book:

<http://svnbook.red-bean.com/en/1.1/ch04s04.html#svn-ch-4-sect-4.2>

Jim

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Sep 6 21:05:13 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.