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
4
votes
1 answer

How to delete file in RCS?

Does RCS have something like svn/p4 delete where it keeps the file history but marks it as deleted? Or do I just remove the file and the matching v file in the RCS directory? What's the recommended way of removing and/or moving files with RCS?
naumcho
  • 18,671
  • 14
  • 48
  • 59
4
votes
2 answers

Is there a blame/annotate for RCS on windows?

I am accessing some source code controlled in RCS on Windows. How can I find out in which revision particular lines of source code were last changed? The feature is variously called 'blame' or 'annotate' depending on the VCS. The…
Sam
  • 581
  • 4
  • 17
3
votes
2 answers

Migrating from CS-RCS to Mercurial

I've been using ComponentSoftware's CS-RCS Basic for many years now to manage my various single-developer projects. It's worked very well for me, but now I want to migrate to a modern revision-control system, and after studying my options I decided…
3
votes
3 answers

Can I view the RCS log with diffs?

Sadly, there is no RCS tag on Unix.stackexchange or ServerFault, so I am posting this on StackOverflow. I'm spoiled by SVN/Git, and I need to see the history of a file. With my scripts I am using RCS to track changes made to system configuration…
Steven Lu
  • 41,389
  • 58
  • 210
  • 364
3
votes
1 answer

What is the correct way to create branch in RCS, and do you need to set a lock first?

I am looking for best practices using branches in RCS. I had read the man page for rcs and ci and also browsed at the following…
Noam Inbar
  • 133
  • 7
3
votes
2 answers

How to make vc-diff output more compact

I am doing C-x v = to inspect the current differences of a file under RCS control (that is, it has an associated file with ,v suffix). However, the output is barely readable because I changed every, say, 12th line. So I get these giant chunks of…
false
  • 10,264
  • 13
  • 101
  • 209
3
votes
1 answer

rcs checkout without touching the current working file

The idea is somehow ridiculous, but still I'm wondering whether there is an actual way. My object: I would like to view an older version of a RCS file without touching the latest working version. Below are my thoughts: Method 1: check out the older…
Yang
  • 1,285
  • 1
  • 10
  • 14
2
votes
2 answers

Organizing a Subversion Repository of thousands of elements

Before I begin: I have spent a long time on many forums (including Stack Overflow - and yes there are a lot of SO questions on organizing svn), searching Google, and reading documents (I own a few Subversion books). I still have not found a good…
BrianH
  • 7,932
  • 10
  • 50
  • 71
2
votes
2 answers

Applying a .patch file

I want to apply a .patch file to one file. I placed both in the same folder and I tried this trinity@Zion ~/Desktop $ patch -i lalala.patch patching file install.sub patch unexpectedly ends in middle of line Hunk #1 FAILED at 1562. 1 out of 1 hunk…
Florencia Hoffmann
  • 123
  • 1
  • 1
  • 4
2
votes
0 answers

XEmacs won't read RCS data but my emacs will

Normally, I use RCS in cygwin emacs (version 23.3.1 from 2011) and the status bar shows -UU-:----F1 and allows me to check-in and check out files. I just downloaded the latest native XEmacs for Windows (21.4.22 from jan 2009) and noticed that my…
Vlueboy
  • 172
  • 1
  • 7
2
votes
1 answer

Executable merge.exe (extracted from MSYS2) doesn't run on Windows

1. Problem explained I need to run the merge tool (part of the GNU RCS project - Revision Control System) on Windows 10. These are the requirements: STEP 1: The executable merge.exe must run in a native Windows cmd terminal. STEP 2: The PATH env…
K.Mulier
  • 8,069
  • 15
  • 79
  • 141
2
votes
3 answers

Working with folders in RCS

I have been following the tutorial http://www.burlingtontelecom.net/~ashawley/rcs/tutorial.html on how to work with files using RCS. This works well but only with one file. Is there a way to create an RCS file with directories as well? I have a…
Shehzad009
  • 1,547
  • 6
  • 28
  • 42
2
votes
2 answers

Is there a way in RCS or SCCS, etc to 're-origin' the changes?

I currently use SCCS for source control, but this question applies to version control systems in general. In order to determine when a piece of code originated, I sometimes open up SCCS s. files to poke around and match up the insertion commands…
littlenoodles
  • 435
  • 4
  • 13
2
votes
2 answers

Change RCSKEYWORD in CVS

I have a problem with CVS KEYWORD. Let me explain: In my source files (*.c) I have in the header a keyword "$Id" and this after checkout return a string: read.adb,v 1.1.1.2 2005/02/20 17:57:20 dprice Exp But my team and another team, use a…
karmax
  • 171
  • 2
  • 13
2
votes
1 answer

Is there a way to add a custom RCS keyword in Perforce?

Perforce supports various RCS keywords including $file$ and $version$. Is there a way to add a custom RCS keyword? I want to create a custom keyword so that when the file is checked in, Perforce will replace the keyword with a custom…
TERACytE
  • 7,553
  • 13
  • 75
  • 111