You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Chaim Keren Tzion <ch...@intercomp.co.il> on 2007/07/15 16:04:19 UTC

SVN Won't Cleanup Locked Dir

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!!!

TIA,
Chaim

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: SVN Won't Cleanup Locked Dir

Posted by James Coleman <ja...@dspsrv.com>.
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

Re: SVN Won't Cleanup Locked Dir

Posted by Ryan Schmidt <su...@ryandesign.com>.
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.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org