You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by egor duda <de...@logos-m.ru> on 2002/12/04 11:37:11 UTC

Forced update of single file

Hi!

  I'm getting error message about corrupted working copy:

svn: Working copy text base is corrupt
svn: could not save file
svn: apply_textdelta: checksum mismatch for '.svn/text-base/Makefile.in.svn-base':
   recorded checksum: 1INXyNPWe9aSSvwqUAFsEA==
   actual checksum:   FK/SQmzJr0Mktjm1/cCzmA==

  The usual CVS method to deal with any kind of local file corruption
is to delete the file and to run 'cvs up file-name'. Is there some way
to do something similar in subversion (save from complete checkout)?
Is it worthwhile to add --force option to 'svn update', which will
recheckout the file ignoring all local information in file and in
.svn/text-base/file.svn-base?

egor.                                     mailto:deo@logos-m.ru


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

Re: Forced update of single file

Posted by Karl Fogel <kf...@newton.ch.collab.net>.
egor duda <de...@logos-m.ru> writes:
>   I'm getting error message about corrupted working copy:
> 
> svn: Working copy text base is corrupt
> svn: could not save file
> svn: apply_textdelta: checksum mismatch for '.svn/text-base/Makefile.in.svn-base':
>    recorded checksum: 1INXyNPWe9aSSvwqUAFsEA==
>    actual checksum:   FK/SQmzJr0Mktjm1/cCzmA==
> 
>   The usual CVS method to deal with any kind of local file corruption
> is to delete the file and to run 'cvs up file-name'. Is there some way
> to do something similar in subversion (save from complete checkout)?
> Is it worthwhile to add --force option to 'svn update', which will
> recheckout the file ignoring all local information in file and in
> .svn/text-base/file.svn-base?

Right now I guess the solution is to re-check-out your working copy --
not ideal, certainly.  I kind of like the `--force' idea, what do
others think?

-K

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