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

Re: Undoing 'update'

From: Andreas Mahel <andreas.mahel_at_gmx.net>
Date: Fri, 17 Apr 2009 11:27:21 +0200

Stephen Connolly wrote:
> 2009/4/17 Bruno Moreira Guedes <thbmatrix_at_gmail.com>:
>
>
>> My employer said I have three days of life.
>>
>>
>
> You might be able to re-code three weeks work in three days with your
> mangled workspace.... but as you never committed your changes,
> subversion has not kept them for you :-(
>
> Get coding :-( and next time use a branch
>
> Sorry to be the bearer of bad news
>
>
How about:

svn up -r xxx

where xxx is the revision number of the last update before the
accidental one (-> the one which you would have wanted to create the
branch from, as Stephen wrote)

This should roll back everything to the state of the former revision,
except your changes, of course.
I'm not sure about conflicts which have occurred during the accidental
svn up, neither about heavier changes in the wc structure (like renaming
files or folders etc.).
Before trying this, I'd make a backup of my working copy first.

Best regards,
Andreas

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-04-17 11:28:21 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.