Sponsored Content
Top Forums UNIX for Dummies Questions & Answers How to automate check outs from version control? Post 302184608 by era on Saturday 12th of April 2008 01:35:09 AM
Old 04-12-2008
It's all just diff and patch anyway, RCS doesn't particularly add anything to that. I have been assuming you've tried diff and patch already and not been happy with the result? If not, try that first.

Code:
mv file file.mine
sd revert file # or whatever the command to revert is
diff -u file file.mine >mine.patch
sd get # or whatever you do to bring in the latest version
patch <p0 mine.patch
# pore over conflicts
sd commit
rm file.mine mine.patch

It's been a long time since I used RCS, but if I remember correctly, even CVS brings substantial improvements to conflict handling in particular. There's nothing to prevent you from checking the files into a local CVS repo, save for the CVS directory which might upset another version control system, and/or need manual sync if you use another version control in tandem.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Version Control

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

How do you automate an hourly file check?

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

Maintaining different version Control account

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

Automate restart Grid control

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

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

Simple version control script for text files

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

Create a File for Version Control

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

Version control for audit

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

SunOS - version upgrade - Control Characters

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
LogSummary(3)						User Contributed Perl Documentation					     LogSummary(3)

NAME
PCP::LogSummary - Perl interface for pmlogsummary(1) SYNOPSIS
use PCP::LogSummary; my $summary = new PCP::LogSummary($log, @metrics, $start, $end); DESCRIPTION
The PCP::LogSummary module is a wrapper around the Performance Co-Pilot pmlogsummary(1) command. Its primary purpose is to automate the production of post-processed pmlogsummary data, in particular to automate the step where the summarised data is imported into a spreadsheet for further anaylsis. This has proven to often be an iterative process - done manually it involves much cutting+pasting, and can be a significant time waster. EXPORT new metric_instance SEE ALSO
pmlogsummary(1). The PCP mailing list pcp@oss.sgi.com can be used for questions about this module. Further details can be found at http://oss.sgi.com/projects/pcp AUTHOR
Nathan Scott, <nathans@debian.org> COPYRIGHT AND LICENSE
Copyright (C) 2008 by Aconex This library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2 (see the "COPYING" file in the PCP source tree for further details). perl v5.16.3 2013-12-05 LogSummary(3)
All times are GMT -4. The time now is 11:00 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy