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

Re: Reverting out of a commit

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2005-07-27 00:49:50 CEST

Ron Gilbert wrote:
>> svn cat -r99 foo.jpg > foo.jpg # overwrite foo.jpg with r99
>> svn -v status
>>
>> Status should show only foo.jpg as modified and the first revision
>> numbers all at 100 (since you did an update to HEAD).
>>
>> svn commit
>
>
>> After all this I hope it works for you.
>
>
> Yes, this works perfectly. Thanks. Only issues is it's a command- line
> only thing. I have several artists on the project that are not as
> technically savvy as the programmers and using the command-line is not
> in the cards. For the time-being, I can just fix the stuff myself.
> Thanks again.

It's not just a commandline thing. TortoiseSVN allows you to 'fetch'
any file from any revision, using the Revision Browser. Just browse
r99, fetch the older file, and then copy it on top of the newer one.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jul 27 00:56:14 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.