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

Re: File stuck in the Beyond

From: Simon Large <simon.tortoisesvn_at_googlemail.com>
Date: Fri, 5 Feb 2010 10:46:35 +0000

On 4 February 2010 21:54, David <dwhite_at_gbcsci.com> wrote:
> Simon Large <simon.tortoisesvn@...> writes:
>
>>
>> On 4 February 2010 00:08, David <dwhite@...> wrote:
>> > Hello,
>> >
>> > There is a file in a subversion DB I thought wasn't required so I deleted
> it,
>>
>> How did you delete it? In explorer? TSVN->Delete, using the repo browser?
>
> Using the Delete command from the repo browser.

OK, so far so good. It still exists in the repository and can be
recovered with history.

>> > but now I've found that it's necessary after all. I can't commit changes
> to it
>> > because TSVN says it can't find the file
>>
>> When do you get this error message?
>
> After clicking OK in the Commit dialog.
>
>> What is the error message?
>
> Square brackets below are mine.
>
> Error  Commit failed (details follow):
> Error  File not found: transaction '2206-1', path [path]
>
>> > but it won't give me the Add...
>> > command for it either. I've also tried "Revert changes from this revision"
> for
>> > the log entry for the delete operation, but that gives an error.
>>
>> What is the error message?
>
> This is after selecting the log for the file itself (after I'd restored it to
> my working folder) and then attempting the above Revert command:
> Command  Merging revisions 2185-2184 of [path]
> Error  [path] doesn't exist in revision 2185

Whoa. You have missed telling us about a whole load of steps. You
restored it to your working copy first (how?) then you try to restore
it to your working copy by using the revert changes in the log dialog?
Why are you trying to restore it twice?

The easy way:
Get rid of any previous attempts to restore it locally (revert parent
directory changes, delete the local copy).
Show log for the parent directory.
Select the revision where the file was deleted.
Right click in top pane and 'Revert changes from this revision'.
This will Add the file back into your working copy, retaining its
previous history.
Commit

Simon

-- 
:       ___
:  oo  // \\      "De Chelonian Mobile"
: (_,\/ \_/ \     TortoiseSVN
:   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
:   /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2445103
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-02-05 11:46:42 CET

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.