Solved

Version control binary files in RCS

Posted on 1997-06-03
3
242 Views
Last Modified: 2013-12-26
We are currently using RCS on Solaris 2.4, and will port to SGI IRIX 6.2.   We do have plan to put all document files (Binary files created by FrameMaker) in RCS, just like all C source codes.  I couldn't done that even with the latest RCS version!  

From the documentation, I suppose can version control binary files by using RCS, does anyone can help me figure out what I did wrong?  (I am a UNIX programmer).

Thanks

John Ma
0
Comment
Question by:jma050197
3 Comments
 
LVL 3

Expert Comment

by:pc012197
Comment Utility
RCS relies on diff to determine the changes between versions. Since diff can't handle binary files, RCS can't either. I suppose.

0
 
LVL 2

Accepted Solution

by:
lockhart earned 100 total points
Comment Utility
In order to do binary files under RCS, you need GNU diffutils on most systems. I've never used RCS alone, I've always used it in conjunction with CVS (much nicer) and it handles binary files fine.

You must understand that with binary files, its an all-or-nothing diff, not a line by line diff. So, when checking in a changed binary, the entire new version is placed into the history file, not just changed lines as with text files. So, if you're doing a lot of changes and checking them in often, your history files can become quite large. However, I've been doing binary files in CVS (it's layered on top of RCS) for years, and it works fine.

Mike
0
 

Author Comment

by:jma050197
Comment Utility
But, how can I get CVS or diffutils for RCS?  So far, I still make no progress by using RCS/CVS......
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Strange date stored 22 99
Separate into files by filename 12 66
Generic progress indicator 6 109
SQUD PROXY SERVER, UNIX, SLL/HTTPS 5 45
Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now