Questions tagged [rcs]

RCS is a revision control system allowing teams to share and update code cooperatively and review and resolve version conflicts. /!\ This tag is *NOT* to be used for questions related to the communication protocol "Rich Communication Services", use [rich-comm-service] instead.

RCS is a revision control system allowing programmers to log updates to files and to review and resolve version conflicts. RCS allows a person to determine exactly which lines changed on newer revisions, and to revert some or all of the changes if necessary. It functions by keeping change data about the source code files that the programmer or programmers are manipulating.

Having been created in the early 1980s, support for RCS has waned in favor of tools like CVS and Subversion (SVN) and, to a larger extent, distributed revision systems such as Git and Mercurial (hg). A comparison of similar systems is available as well. A current development environment featuring support for RCS is Emacs.

RCS is a GNU project. The sources are available here, and are maintained in a Git repository.

78 questions
2
votes
1 answer

Git: Can I get the equivalent of an RCS $Id$ string?

I have a program that is distributed as a single file, and doesn't go through an installation procedure. Is there a way to have git embed an RCS-like $Id$ string? Checkin timestamp, etc, would also be fine, just something to easily id files in the…
Mark Harrison
  • 297,451
  • 125
  • 333
  • 465
2
votes
1 answer

newlines on RCS $Log:$ output

I'm using RCS (v5.7) for version control on a Mac (10.7.5). I find it sufficient for a single user. Is there a way to get the $Log:$ output in the source code to have crlf (\r\n) line endings instead of newline (\n)? I'd like the source to be…
WestfW
  • 21
  • 1
2
votes
2 answers

Adding RCS Header in Binary files

I am using RCS source control and need to check in an binary file (gif image and a jar file) how do I add an $Header$ keyword so that the version information is replaced in this file during check in and get revealed when I issue "ident" command. For…
Neil
  • 5,919
  • 15
  • 58
  • 85
2
votes
2 answers

RCS on Windows - rcsmerge always fails

I'm using GNU RCS version 5.7 for Windows from the official Purdue RCS homepage. If I use the rcsmerge(1) command to merge changes from different branches, I get an error: diff3.exe: subsidiary program failed every time. Does anyone know why this…
Max
  • 2,121
  • 3
  • 16
  • 20
1
vote
1 answer

Using RCS for revision control of a python based project

I would like to revision control some python files using RCS. After checking ci the scripts, a header is added to the script. I get a syntax error because that. How to comment the header with # after ci? For e.g. - This is what my script looks like…
1
vote
1 answer

Why the patches can re-create any file at any point?

I can not understand: patch sets can re-create what any file looked like at any point in time. In the git-scm.com One of the most popular VCS tools was a system called RCS, which is still distributed with many computers today. RCS works by keeping…
s-n-2
  • 405
  • 1
  • 6
  • 24
1
vote
2 answers

Why am i getting "/RCS/trunk,v: No such file or directory" when i try to checkout SVN?

I tried to checkout a project from the server to my local computer with svn+ssh command but i get a strange error: /RCS/trunk,v: No such file or directory Why is this happening and how can I fix it?
mgPePe
  • 5,677
  • 12
  • 52
  • 85
1
vote
0 answers

cph with rcs nact$nmiss error?

I'm running a coxph model with a spline using the cph wrapper {rms} and rcs as follows: y <- cph(Surv(time, event) ~ rcs(data$z, df=4) + Age_recruitment + factor(eth) + bmi + factor(dm) , na.action=na.omit, data=data) I'm afraid I can't post even…
C. W.
  • 25
  • 6
1
vote
4 answers

In-place editing, version control - what's your solution?

I am using SVN for development tasks, but still have many files managed with RCS, because it does not seem reasonable to edit them in my private SVN repository working copy (since they're often just configuration files that are also best tested…
mjy
  • 2,727
  • 2
  • 20
  • 22
1
vote
2 answers

Can RCS be used to version control entire directories?

I would like RCS to version control all the files in /var/spool/cron/crontabs/ and any new files that get created there. But it appears from the documentation that you have to supply it a filename and not a directory name. Can RCS be used to do…
LINUX G33NYUS
  • 621
  • 6
  • 13
1
vote
2 answers

how to find who is holding the lock of a file in RCS

Suppose I lock a file which is controlled by RCS [root@host1:/etc/yp]# co -l group auto_home RCS/group,v --> group revision 1.6103 (locked) done RCS/auto_home,v --> auto_home revision 1.4003 (locked) done [root@host1:/etc/yp]# I see the files…
anudeep
  • 415
  • 6
  • 19
1
vote
1 answer

subprocess.call command for executing "ci -u "

I am trying to execute a python script that first creates a new file(if it does not exist) and then executes ci(on the newly created file) to create a rcs file with initial revision number. But when I run the script it asks me for description and…
skameswa
  • 33
  • 1
  • 4
1
vote
1 answer

How to install version control rcs on os-x 10.11

I am trying to install RCS on Mac os x 10.11 (El Capitan). I downloaded the tar file from Gnu, https://www.gnu.org/software/rcs/ but the configure failed. Can anyone help me ?
Yossi
  • 11
  • 3
1
vote
2 answers

Save/restore git/cvs checkout changes when switching branches?

Using cvs, git or another technique (file system level?), I would like to: Make modifications on branch A Checkout branch B: Changes to branch A are "stowed away" (by name would be nice), branch B is checked out such that my branch A changes are…
Dale Forester
  • 18,145
  • 10
  • 27
  • 27
1
vote
1 answer

In the RCS file format in a CVS repo, what does x.y.0.2 as a revision indicate?

Background I am trying to salvage code from a CVS repo. I am using reposurgeon for the purpose, and I have tried the following tools to get myself a git-fast-import stream: cvs-fast-export, which errors out (alleged cyclic branch, but doesn't…
0xC0000022L
  • 20,597
  • 9
  • 86
  • 152