Solved

Version control binary files in RCS

Posted on 1997-06-03
3
256 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

Technology Partners: 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

Suggested Solutions

Title # Comments Views Activity
Replacement selected text 2 69
Importing Special Characters in Dynamics GP Through Integration Manager 3 96
countEvens challenge 2 116
wordmultiple challenge 12 167
In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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.
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

737 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