[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: K F <cmkforce_at_yahoo.com>
Date: Fri, 17 Apr 2009 07:23:56 -0700 (PDT)

Couldn’t you just compare revisions, see what the
differences were and back out what is appropriate?

--- On Fri, 4/17/09, Andreas Mahel <andreas.mahel_at_gmx.net> wrote:

From: Andreas Mahel <andreas.mahel_at_gmx.net>
Subject: Re: Undoing 'update'
To: users_at_subversion.tigris.org
Cc: "Stephen Connolly" <stephen.alan.connolly_at_gmail.com>, "Bruno Moreira Guedes" <thbmatrix_at_gmail.com>
Date: Friday, April 17, 2009, 9:27 AM

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].

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

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