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

Re: Unretrievable file

From: Ulrich Eckhardt <ulrich.eckhardt_at_dominolaser.com>
Date: Fri, 10 Jun 2011 12:48:14 +0200

On Thursday 09 June 2011, Bill Herring wrote:
> I have a problem that began when I mistakenly attempted to switch a file to
> an older tagged version. It instead converted my file into a folder
> containing the whole of the older tagged project. I tried to switch back
> but it would say “can’t replace a folder from within”.

Bill, it would be helpful if you didn't start a new thread for the almost same
issue, because that makes it impossible to tell if you actually read and
understood the answers given. Note that people are not normally CCing people
that write to mailinglist, so if you are not subscribed and you want a CC, you
should say so. Secondly, if you told us exactly what you actually did, it
would be possible to distinguish between a user error and a Subversion bug.

> I was advised to delete it and then update my working copy in order to
> restore my file and SVN back to a happy state. However this didn’t work.

Each folder and file in a working copy maps to one location in the repository.
This information is always stored in the _parent_ folder of that element, and
it is that which you have to change. Deleting and updating works when you have
changes made to the file or directory content, but not things like switched
URLs or property changes. What you can do is delete the parent folder or you
switch the file back, as suggested before.

> The situation now is that if I attempt almost any operation in the
> directory that contained the myOriginalFile, it tells me “the . . path
> (i.e. the directory ) is locked, use Cleanup”. But if I try to use Cleanup
> it says “error processing entry for myOriginalFile.c, myOriginalFile.c is
> already under version control”. What can I do to get back to normality?

This seems as if SVN had gotten into a state it can't recover from without
manual intervention. If so, the reason could be misuse or a bug, but there's
not enough info to tell.

> I’m prepared to throw away the original file and start again with a new
> name but I just can’t seem to make SVN forget about it? Please help.

You can always check out multiple working copies! You could throw away the
whole working copy without loosing any history or files, except of course for
those changes made inside the working copy which weren't committed yet.

I wish you a nice weekend!

Uli
**************************************************************************************
Domino Laser GmbH, Fangdieckstrae 75a, 22547 Hamburg, Deutschland
Geschftsfhrer: Thorsten Fcking, Amtsgericht Hamburg HR B62 932
**************************************************************************************
Visit our website at http://www.dominolaser.com
**************************************************************************************
Diese E-Mail einschlielich smtlicher Anhnge ist nur fr den Adressaten bestimmt und kann vertrauliche Informationen enthalten. Bitte benachrichtigen Sie den Absender umgehend, falls Sie nicht der beabsichtigte Empfnger sein sollten. Die E-Mail ist in diesem Fall zu lschen und darf weder gelesen, weitergeleitet, verffentlicht oder anderweitig benutzt werden.
E-Mails knnen durch Dritte gelesen werden und Viren sowie nichtautorisierte nderungen enthalten. Domino Laser GmbH ist fr diese Folgen nicht verantwortlich.
**************************************************************************************

Received on 2011-06-10 12:46:07 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.