04-11-2008
How to compute deltas and execute them?
Can you help me understand the rcs commands to compute the deltas between two files and save the delta so I can apply it again after I have reverted using source depot?
Siegfried
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am not sure if this is the right forum to post my question on Version Control. Anyway, here it is!
I use CVS for source code maintainence in my Solaris box. Is there any command where I can find out in CVS, if any check-in/check-out was done in the last 24 hours? I need a listing of all the... (3 Replies)
Discussion started by: Deepa
3 Replies
2. UNIX for Dummies Questions & Answers
Hi,
New to the forum, Great site, I can learn a lot from here!! :cool:
I would like to know how to automate a command that checks the Sybase database's are "alive" on an hourly basis, and mails outlook if they are not (1 Reply)
Discussion started by: mals
1 Replies
3. UNIX for Advanced & Expert Users
How can I maintain different version control account(any common unix based version control like CVS,RCS,SCCS..) from a single UNIX Login Account.
Many programmers share a common UNIX user/login account.How do they maintain separate Version Control Account. (1 Reply)
Discussion started by: johnbach
1 Replies
4. Windows & DOS: Issues & Discussions
Hi all,
I'm trying to write a batch program to automate restart of grid control.
oraclehomes\db10g\bin\lsnrctl status >> %filename%
oraclehomes\oms10g\bin\emctl status oms >> %filename%
(This is just for testing.)
However, i cannot seem to let both of the line to execute as the batch... (3 Replies)
Discussion started by: beginningDBA
3 Replies
5. Shell Programming and Scripting
Version Control Through the Shell Script
Hi Guys,
Apologize for the big request, please take some time and read it completely... This is Very important for me, and ur help is Very much Appriciated.
I want to maintain the Version control to all my scripts running in Production server, I am... (6 Replies)
Discussion started by: Anji
6 Replies
6. UNIX for Dummies Questions & Answers
HI guys,
Could you help me writing a simple version control script for a text files.
the format could be
./version_control <file(s)> (I want it to be able to work with more than 1 file at the same time)
commands are add and get, add means you add new file(s) to the archive, get means you... (4 Replies)
Discussion started by: s3270226
4 Replies
7. Shell Programming and Scripting
Hi ,
I have to create a file with 3 columns A,B,C. I have to read the column A,B values from a text pad. Where as Column a contains approximately 10 values and column B has 1 value which is constant. Column C is a version control column ,initially the value would be 1. (1 Reply)
Discussion started by: Inform123
1 Replies
8. Programming
Hi.I am running some scripts from a "scripts" directory for my job (I am working in Financial industry).For compliance purposes I need to use a "release" directory when running them using some sort of version control(CVS,SVN or GIT) in case the program is audited.Basically I have to maintain a dev... (0 Replies)
Discussion started by: rolleikid
0 Replies
9. UNIX for Advanced & Expert Users
Hi,
We have a scenario of OS upgrade and in a simialr upgrade last time, we noticed a few stray bytes appearing and it resulted in application programs failing.....
Could you please share your expertise in removing such control characters in input/output files, to keep the ball rolling in... (1 Reply)
Discussion started by: ab_2010
1 Replies
comb(1) General Commands Manual comb(1)
Name
comb - combine delta versions of SCCS file
Syntax
comb [-o] [-s] [-psid] [-clist] files
Description
The command generates a shell procedure which, when run, will reconstruct the given SCCS files. For further information, see The recon-
structed files are generally smaller than the original files. The arguments may be specified in any order, but all keyletter arguments
apply to all named SCCS files. If a directory is named, behaves as though each file in the directory were specified as a named file,
except non-SCCS files (last component of the path name does not begin with s.) and unreadable files, which are silently ignored. If a
name of - is given, the standard input is read; each line of the standard input is taken to be the name of an SCCS file to be processed.
The generated shell procedure is written on the standard output.
Each keyletter argument is explained as though only one named file is to be processed, but the effects of any keyletter argument apply
independently to each named file.
Options
-clist Preserves specified deltas. See for the syntax of a list. All other deltas are discarded.
-o Causes the reconstructed file to be accessed at the release of the delta to be created. Otherwise the reconstructed file would
be accessed at the most recent ancestor. Use of the -o keyletter may decrease the size of the reconstructed SCCS file. It may
also alter the shape of the delta tree of the original file.
-pSID Indicates oldest delta to be preserved. All older deltas are discarded in the reconstructed file.
-s Generates a shell procedure which produces a report. This report gives the file name, size (in blocks) after combining, original
size (also in blocks), and percentage change computed by:
100 * (original - combined) / original
It is recommended that before any SCCS files are actually combined, one should use this option to determine exactly how much
space is saved by the combining process.
If no keyletter arguments are specified, will preserve only leaf deltas and the minimal number of ancestors needed to preserve the tree.
Restrictions
The command may rearrange the shape of the tree of deltas. It may not save any space; in fact, it is possible for the reconstructed file
to actually be larger than the original.
Diagnostics
See for explanations.
Files
s.COMB The name of the reconstructed SCCS file.
comb????? Temporary.
See Also
admin(1), delta(1), get(1), help(1), prs(1), sccs(1), sccsfile(5)
Guide to the Source Code Control System
comb(1)