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

Re: svn revert question

From: Anto Marky <markysvn_at_gmail.com>
Date: Tue, 18 Aug 2009 22:34:23 +0530

Hi Ryan/ Tony,

Thanks for your help, svn up -r '{date}' worked.

Thanks and Regards
Marky

On Tue, Aug 18, 2009 at 10:17 PM, Ryan Schmidt <
subversion-2009b_at_ryandesign.com> wrote:

> On Aug 18, 2009, at 11:33, Anto Marky wrote:
>
> On Tue, Aug 18, 2009 at 9:54 PM, Ryan Schmidt wrote:
>>
>> On Aug 18, 2009, at 11:12, Anto Marky wrote:
>>>
>>> I am new to SVN, one of my user has mistakenly updated my testing server
>>>> using svn update from the root directory. It has added, updated and deleted
>>>> a lot of files which are not supposed to be, Is there any way I can revert
>>>> back to the previous state? Its an emergency, any help would be appreciated.
>>>>
>>>
>>> Yes:
>>>
>>> svn up -r X
>>>
>>> where X is the older revision you want to go back to.
>>>
>>
>> The files of the previous state were not of the same revision, each one
>> had a different revision as the files were updated individually with
>> different revision number. Is there any way I can use the svn switch to a
>> previous date using the svn switch '{' DATE '}' commanks and?
>>
>
> Yes, Subversion accepts a date anywhere it accepts a revision. So e.g.:
>
> svn up -r '{2009-08-15}'
>
> You can also update individual items to specific revisions or dates if
> desired:
>
> svn up -r '{2009-08-15}' path/to/some/file.txt
>
>
>

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2384856

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-08-18 19:05:19 CEST

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.