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

Re: SVN Won't Cleanup Locked Dir

From: James Coleman <jamesc_at_dspsrv.com>
Date: 2007-07-16 13:30:58 CEST

Ryan Schmidt wrote:
>
> On Jul 15, 2007, at 11:04, Chaim Keren Tzion wrote:
>
>> SVN tells me that my directory is locked and will not do updates.
>> When I attempt to do an svn cleanup I get a message and then it
>> creates an
>> empty tmp file:
>>
>> svn cleanup includes/
>> svn: In directory 'includes'
>> svn: Can't copy 'includes/.svn/tmp/text-base/header.php.svn-base'
>> to 'includes/header.php.tmp': No such file or directory
>>
>>
>>
>> When I repeat the command it creates another file like:
>> header.php.2.tmp
>> header.php.3.tmp
>> header.php.4.tmp
>> header.php.5.tmp
>> ...
>>
>> svn status
>> ? header.php.2.tmp
>> ? header.php.3.tmp
>> ? header.php.4.tmp
>> ? header.php.5.tmp
>> ? header.php.6.tmp
>> ? header.php.tmp
>> L .
>>
>> Deleting the tmp files just restarts the process.
>>
>> Help!!!
>
> Does includes/.svn/tmp/text-base/header.php.svn-base exist? Subversion
> thinks it should. If it doesn't, maybe your working copy is messed up
> somehow. Try checking out a new working copy.
>

If you delete the directory with the problem (without losing any changes
that you wish to keep!) and then do svn cleanup and then svn update you might
solve this problem.

I think I have seen similar situations which can be solved by removing the
offending directory.

be careful and paranoid and backup any changes you need! :)

James.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jul 16 13:30:51 2007

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.