Solved

Version control binary files in RCS

Posted on 1997-06-03
3
258 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
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.
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…

707 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