Solved

Version control binary files in RCS

Posted on 1997-06-03
3
251 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
ID: 1293182
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
ID: 1293183
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
ID: 1293184
But, how can I get CVS or diffutils for RCS?  So far, I still make no progress by using RCS/CVS......
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
ADO Memory leak with DELPHI 2007 37 181
Sed question 2 83
unix example issues 18 89
JQuery serialize and unserialize 8 77
This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
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.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

816 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

13 Experts available now in Live!

Get 1:1 Help Now