[evla-sw-discuss] binary files in cvs.

Stephan Witz switz at nrao.edu
Wed Apr 11 11:40:45 EDT 2007


While converting a project from cvs to subversion Brian noticed
that many of the binary files checked into cvs were never flagged
as binary, with the result being cvs tries to do end of line fixes
and keyword substitution on them when you check them out. Files
of this type include images, pdf documents, shared libraries,
word documents, power point presentations, executables and so on.

Please take a minute to look through your cvs sandboxes and check
to see that any binary files are flagged as such.

Below is a log snippet of me testing a file, seeing the sticky
options don't include the binary flag, and fixing the problem.

dunsel % cvs status submit.png
===================================================================
File: submit.png        Status: Up-to-date

    Working revision:    1.1
    Repository revision: 1.1     /home/asg/cvs/NRAO/E2E/USERDB/images/submit.png,v
    Sticky Tag:          (none)
    Sticky Date:         (none)
    Sticky Options:      (none)

dunsel % cvs admin -kb submit.png
RCS file: /home/asg/cvs/NRAO/E2E/USERDB/images/submit.png,v
done
dunsel % cvs commit -m "Binary flag set" submit.png
dunsel % cvs update -A submit.png
U submit.png
dunsel % cvs status submit.png
===================================================================
File: submit.png        Status: Up-to-date

    Working revision:    1.1
    Repository revision: 1.1     /home/asg/cvs/NRAO/E2E/USERDB/images/submit.png,v
    Sticky Tag:          (none)
    Sticky Date:         (none)
    Sticky Options:      -kb



-- 
|  Linux n. A highly robust computer virus attacking and replacing
|  less fit computer operating systems with more healthy ones at an
|  exponential rate; upgrade by natural selection. Kyle Amon, SANS 99.
|
`--switz at nrao.edu, Stephan Witz: systems dude, tool of the Man.




More information about the evla-sw-discuss mailing list