[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-28 08:38:21 CEST

Hello,
I have already sent this message, but got no answer ... so, I repeat my
question/bug report, for it is important to me.

JirkaW

--- Original message ---

Hello, everybody!

When I try to update my local copy of directory (example Root\Knihovny)
and some process locks updated file, 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.

SVN command does the same thing, as TortoiseSVN (I have tried it), but we
use only TortoiseSVN - that's why I am posting it to this forum.

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

JirkaW

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Fri Jul 28 08:38:36 2006

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.