Adding binary files in cvs




















Note that you can't meaningfully run cvs diff on two revisions of a binary file. Diff uses a text-based algorithm that can only report whether two binary files differ, but not how they differ. Future versions of CVS may provide a way to diff binary files. Karl Fogel wrote this book. Buy a printed copy via his homepage at red-bean. So, in Step 2 of this solution, I now need to commit a new version of the binary file. When doing this, CVS will now properly treat this new file as a binary file.

I ran into this problem again yesterday, and based on that experience, I think it's safe to say that the file checked in initially is worthless. Yesterday I imported a project into CVS, including a group of Java jar files which are binary files , and then checked my project out on another workstation. The jar files on that workstation were corrupt. By following my notes above I was able to get good files into the repository Christian Specht Chris Chris 5 5 silver badges 11 11 bronze badges.

Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Stack Gives Back Safety in numbers: crowdsourcing data on nefarious IP addresses.

Featured on Meta. New post summary designs on greatest hits now, everywhere else eventually.



0コメント

  • 1000 / 1000