[cvsnt] Corrupted files
bo.berglund at telia.com
Thu Mar 8 17:39:57 GMT 2007
On Thu, 8 Mar 2007 14:53:44 +0100, "Aleksander Pahor"
<Aleksander.Pahor at hermes-softlab.com> wrote:
>I keep all the documentation and tools for a project in CVS. Most of the files are binary (Word, Excel, Apps, .pdf ...).
>After almost 2 years of usage I got now 8 files which are corrupted. 6 .exe, 1 .xls and 1 .rtf. All files were added with -kb (binary, no compress, keywords disabled ...), cvs status recognizes them, I can print out their history, log etc. I just cannot checkout or update the dir to have the latest (or any) version in the sandbox.
>Q:\ProjectTools\XY-Distribution\XY-6.0>cvs update -A .
>cvs server: Updating .
>cvs [update aborted]: writing ./AppServerSetup.exe: Invalid argument
>After this I get the file _new_AppServerSetup.exe which has the right size, but the content is corrupted (content is right size - but only hex00).
>What can I do to prevent this from happening again? Is there any tool to check the integrity of the repo? Why and how this happend at all?
You have forgotten to include any details of your repository server.
You write CVS, but I assume you mean CVSNT since you ask on this list.
THe minimum information needed is version numbers (including build) of
the cvsnt server, what your CVSROOT is when you work with the
repository and possibly also the output of cvsdiag run in the cvsnt
There were versions of CVSNT thta could corrupt binary files. These
versions were shortlived but did exist and if you have one it will be
known by the version info.
BTW: If you have updated the cvsnt version along the time you used the
repository then it would be nice to know which versions have been used
(Bo Berglund, developer in Sweden)
More information about the cvsnt