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, Fangdieckstra�e 75a, 22547 Hamburg, Deutschland Gesch�ftsf�hrer: Thorsten F�cking, Amtsgericht Hamburg HR B62 932 ************************************************************************************** Visit our website at http://www.dominolaser.com ************************************************************************************** Diese E-Mail einschlie�lich s�mtlicher Anh�nge ist nur f�r den Adressaten bestimmt und kann vertrauliche Informationen enthalten. Bitte benachrichtigen Sie den Absender umgehend, falls Sie nicht der beabsichtigte Empf�nger sein sollten. Die E-Mail ist in diesem Fall zu l�schen und darf weder gelesen, weitergeleitet, ver�ffentlicht oder anderweitig benutzt werden. E-Mails k�nnen durch Dritte gelesen werden und Viren sowie nichtautorisierte �nderungen enthalten. Domino Laser GmbH ist f�r diese Folgen nicht verantwortlich. **************************************************************************************