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

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

From: Jirka Walter <jwalter_at_karneval.cz>
Date: 2006-08-02 10:54:27 CEST

Hi Stefan,

I have posted this issue to Subversion Mailing list (users@...) and got
answer from D.J. Heap (djheap@gmail.com):

What version are you using? This may have been fixed recently -- I
can't recreate it on trunk. The working copy does gets locked on the
failed update, but cleanup and then re-updating works.

Entire thread (my question, his answer):

Now, the matter is: I can't check it, because I don't know how to
compile SVN :-(
Is there any chance to get developement-or-nightly build of TortoiseSVN
with updated TSVN library?

Thanks for answering,

----- previous message -----

> 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:
> Error: Try a "Cleanup". If that doesn't work you need to do a fresh

> 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

> 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: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Wed Aug 2 10:54:44 2006

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