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

[TSVN] Re: Problem with Lock on a deleted file

From: Schmidt, Maik <Maik.Schmidt_at_mahr.de>
Date: 2005-08-11 13:21:14 CEST

Sorry to begin a new thread but I forgot to ask to CC me... I've just send a subscription mail to the mailing list...

On 8/11/05, Schmidt, Maik <Maik.Schmidt@mahr.de> <mailto:Maik.Schmidt@mahr.de> wrote:

>> There is one of the files VC++ generates during the build process -
>> "something.ilk". He has first managed to add this stupid file to the
>> repository, then delete this file during revision number 362 BUT the file
>> seems to have still a lock onto itself. When I tried to delete some
>> directories of the project from our repository which I do not wanted to be
>> under version management INCLUDING the folder this file is in I got the
>> following error:
>>
>> -------------------------
>> Deleting: C:\localfolder\PATH1\Debug
>> Error: Übertragen fehlgeschlagen (Details folgen):
>> Error: Kann Sperre für Pfad '/head
>> revision/projectpath/toolpath/PATH1/Debug/converter.ilk'
>> Error: nicht prüfen; keine entsprechende Sperrmarke verfügbar
>> Error: If you want to break the lock, use the "Check For Modifications"
>> dialog.
>> -------------------------

> Seems you have removed the file without it being removed from the repository!
> Use the repository browser to see if that file is still there.

Would be nice if that would be the fact. I've deleted the files via the repo-browser. I've just taken a look into the revision where the files were still there: they have the lock from our student. I've then installed Subversion itself and run "svnadmin lslocks" - the locks he had were displayed, too. Since the files are not in head revision anymore, I cannot remove the lock. I've tried to get them from the old revision into head but that does not seem to work because of that lock, too.

Question: can I remove those locks by removing the strange hexcode-named files under "\repository_path\db\locks\some_path" without crippeling the repository?

Sincerely,
Maik Schmidt

P.S.: Just in case my subscriptions needs some more time, please CC me

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Thu Aug 11 15:35:07 2005

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