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

SVN Update - unrecoverable error when updated file is locked by another process?

From: Jirka Walter <jwalter_at_karneval.cz>
Date: 2006-07-29 14:23:37 CEST

Hello, everybody!

When I try to update my local copy of directory (example Root\Knihovny)
and some process locks updated file (I know, which process,
it's my dev tool I forgot to close), I get ordinary error message:

Updated: C:\MyFolder\KNIHOVNY\jkr_fa.VCT
Updated: C:\MyFolder\KNIHOVNY\jkr_fa.VCX
Updated: C:\MyFolder\KNIHOVNY\jkr_fa.vc2
Updated: C:\MyFolder\KNIHOVNY\jkrprog.VCT
Updated: C:\MyFolder\KNIHOVNY\jkrprog.VCX
Updated: C:\MyFolder\KNIHOVNY\jkrprog.vc2
Error: In directory 'C:\MyFolder\KNIHOVNY'
Error: Can't move 'C:\MyFolder\KNIHOVNY\jkrprog.VCT.tmp' to
'C:\MyFolder\KNIHOVNY\jkrprog.VCT': Access denied.

The folder KNIHOVNY is locked, I have to do "cleanup" operation, which
can't succeed:

Subversion reported an error while doing a cleanup!
---------------------------------------------------
In directory 'C:\MyFolder\KNIHOVNY'
Can't copy
'C:\MyFolder\KNIHOVNY\.svn\tmp\text-base\jkr_fa.VCT.svn-base' to
'C:\MyFolder\KNIHOVNY\jkr_fa.VCT.2.tmp': File does not exists.

The other way is:
- manually delete .svn\lock file, all tmp files from KNIHOVNY directory
and log files
- when I do SVN update again, I have got error:

Error: Checksum mismatch for
'C:\MyFolder\KNIHOVNY\.svn\text-base\jkr_fa.vc2.svn-base';
expected: '22b5273978e36061a5545c88e34607ac', actual:
'95a82947c7c83e2690741400af6d37b9'
Error: Try a "Cleanup". If that doesn't work you need to do a fresh
checkout.

That is, because text-base of that files has already changed to the
newest revision, but ".svn\entries" file was not saved when update
interrupted or there is no update of the file until successful update
finnished.

I have tried to update to earlier revisions of that files, but this is
not still correct, checksum has another wrong numbers.

Please, help. Fresh checkout is not right solution for everyday use ...

JirkaW

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Jul 29 14:24:44 2006

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.