Fixing Corrupt Jar Files in CVS

To fix corrupt jar files in your CVS repository cd to the directory, remove the jar files and then issue:

> cvs remove 
> cvs commit -m "Removing corrupt jar files"

Copy in the good jar files and then issue:

> cvs add -kb *.jar
> cvs commit -m "Re-added non-corrupt jar files"

The cvs add -kb *.jar tells cvs to treat the jar files as binary.

 

Comments