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

Re: Recovering from deletions

From: Simon Large <simon_at_skirridsystems.co.uk>
Date: 2005-10-31 11:37:14 CET

Scott Pritchett wrote:
> I'm a little stuck. I deleted some folders and committed a version
> 21. I then reverted to version 19, I've tried various ways (merge
> being one) and all looks okay, but
>
> when I Commit a new change to a routine I get :
>
> Modified: Application
> Data\OptiPerl\Sessions\Scary\scan\bin\MSNSCodeAndLabelLex.pl Error:
> Commit failed (details follow): Error: File not found: transaction
> '21-1', path '/Scary/scan/bin/MSNSCodeAndLabelLex.pl'
>
> and when I Update it it deletes my folders again and leaves me at
> version 21.
>
> How do I force the latest version to be 19?

You can't. If you read the manual more carefully you will see that we
advise against updating to an older revision except for the sole purpose
of seeing what it looked like in the past.

It seems that what you want is to undo the changes made in r21.

update your wc to HEAD.
Show log for the highest level that r21 touched, or the project root.
Select the consecutive revisions that you want to undo.
Select 'Revert changes from these revisions' from the context menu.
Check the results, then commit r22.

Simon

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
--
Received on Mon Oct 31 10:46:12 2005

This is an archived mail posted to the TortoiseSVN Users mailing list.