You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "Garrett, Benjamin D" <be...@lmco.com> on 2004/03/03 20:53:39 UTC

svn cleanup: Can't open file '.../KILLME': The file exists

What is the appropriate action to take when running svn cleanup in a working 
copy, but there is a KILLME file which already exists?  I couldn't find any 
documentation about it online. 

I managed to get in this state by trying to commit a deleted directory.  The 
commit did actually complete (I confirmed this through the web-based interface),
but somehow the working copy did not get updated.  The directory was then 
locked and I couldn't do anything to it (svn update).  I tried running svn 
cleanup, but thats when I got the error messages about the KILLME file.   I 
then tried renaming the KILLME file, and running svn cleanup again, and 
then everything seemed to be fine in the working copy.

I am running Win2K SP3, Apache 2.0.48, Subversion 1.0.0 mod_dav_svn.

Output From RapidSVN 0.5:
	Execute: Cleanup
	Error while performing action: In directory 
	  'C:/svnWC/trunk/src/com/lmco/ogc/filter'
	Error processing command 'committed' in 
	  'C:/svnWC/trunk/src/com/lmco/ogc/filter'
	Can't open file 'C:/svnWC/trunk/src/com/lmco/ogc/filter/.svn/KILLME': 
	  The file exists.  
	Ready

Output From command line:
	C:\svnWC>svn cleanup
	svn: In directory 'trunk/src/com/lmco/ogc/filter'
	svn: Error processing command 'committed' in 'trunk/src/com/lmco/ogc/filter'
	svn: Can't open file 'trunk/src/com/lmco/ogc/filter/.svn/KILLME': The file 
	  exists.

Thanks,
Ben

Benjamin Garrett
benjamin.d.garrett@lmco.com

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

Re: svn cleanup: Can't open file '.../KILLME': The file exists

Posted by Philip Martin <ph...@codematters.co.uk>.
"Garrett, Benjamin D" <be...@lmco.com> writes:

> 	C:\svnWC>svn cleanup
> 	svn: In directory 'trunk/src/com/lmco/ogc/filter'
> 	svn: Error processing command 'committed' in 'trunk/src/com/lmco/ogc/filter'
> 	svn: Can't open file 'trunk/src/com/lmco/ogc/filter/.svn/KILLME': The file 
> 	  exists.

That's a Subversion bug, I have a patch to fix svn_wc_cleanup.  I
think the safest way to recover is to manually remove the directory
containing .svn/KILLME ("filter"), then run cleanup, and then update
the parent directory ("ogc") to the revision that deleted the KILLME
directory.

-- 
Philip Martin

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