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

kill svn and working copy is corrupt

From: Jan Evert van Grootheest <j.grootheest_at_euronext.nl>
Date: 2003-09-04 16:04:23 CEST

Hello,

I've just had this nasty experience on windows...
I had to kill an svn update (don't recall the reason) and it corrupted
the working copy to such a state that I did not know how to get out of it.
This is svn 0.27 on winNT.

Here's part of the session *right after* another kill (to reproduce...):
----------------------------------------------
D:\svn\MAL\MAL\Dev\development\3rdparty\ACE\ACE_wrappers>svn st
! L .
! L docs
! L docs\tutorials
   L docs\tutorials\001
   L docs\tutorials\002
   L docs\tutorials\003
   L docs\tutorials\004
! L docs\tutorials\005
? docs\tutorials\005\client_handler.cpp
   L docs\tutorials\020
   L docs\tutorials\021
   L docs\tutorials\022
   L docs\tutorials\022\client
   L m4

D:\svn\MAL\MAL\Dev\development\3rdparty\ACE\ACE_wrappers>svn up
svn: Attempted to lock an already-locked dir
svn: working copy locked: .
svn: run 'svn cleanup' to remove locks (type 'svn help cleanup' for details)

D:\svn\MAL\MAL\Dev\development\3rdparty\ACE\ACE_wrappers>svn cleanup
svn: Problem running log
svn: in directory 'docs/tutorials/005'
svn: The system cannot find the file specified.
svn: svn_io_copy_file: error copying
'docs/tutorials/005/.svn/tmp/text-base/clie
nt_handler.cpp.svn-base' to 'docs/tutorials/005/client_handler.cpp.tmp'

D:\svn\MAL\MAL\Dev\development\3rdparty\ACE\ACE_wrappers>svn cleanup
svn: Problem running log
svn: in directory 'docs/tutorials/005'
svn: The system cannot find the file specified.
svn: svn_io_copy_file: error copying
'docs/tutorials/005/.svn/tmp/text-base/clie
nt_handler.cpp.svn-base' to 'docs/tutorials/005/client_handler.cpp.2.tmp'
----------------------------------------------
As you can see, much is locked and update rightly complains about it.
Unfortunately, cleanup also complains!

How would one normally recover from this?

I deleted the tutorials directory and removed it from docs/.svn/entries.
After that cleanup completed succesfully and another update worked.

If any more information is needed, just let me know and I'll see what I
can do.

-- Jan Evert

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Sep 4 16:05:56 2003

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.