Questions tagged [cvs]

CVS - Concurrent Versions System - is an open-source version control system

#Description CVS, or Concurrent Versions System, is a client–server version control system based on the earlier RCS.

A version control system keeps track of all work and all changes in a set of files, and allows several developers (potentially widely separated in space and time) to collaborate. Dick Grune developed CVS as a series of shell scripts in July 1986.

In addition to commercial software developers, CVS became popular with the open source software world and was released under the GNU General Public License. While there was regular development to add features and fix bugs in the past, including regular builds and test results, there have been no new releases since 2008.

Whilst it lacks support for features more prevalent in newer version control systems (Unicode support, file renames, distributed revision control, cheap branching), and is not in active development, it is still used by a number of open source and commercial developers.

#Documentation

1521 questions
42
votes
8 answers

How do I restore a deleted file in CVS?

I've removed a checked in file from the CVS branch, i.e.: cvs remove -f file.txt cvs commit How do I restore the file?
Harry
  • 5,566
  • 6
  • 27
  • 21
40
votes
14 answers

How to add CVS directories recursively

I've played with CVS a little bit and am not the most familiar with all of its capabilities, but a huge annoyance for me is trying to add new directories that contain more directories in them. Running "cvs add" only adds the contents of the current…
Chris Bunch
  • 87,773
  • 37
  • 126
  • 127
39
votes
3 answers

How to import and keep updated a CVS repository in Git?

There is a central repository in CVS, and I would like to use it with Git locally, and then send my changes back to CVS. What can I accomplish that on a daily basis? The tasks I would like to accomplish are: importing branches, getting history in…
Jatin Ganhotra
  • 6,825
  • 6
  • 48
  • 71
38
votes
6 answers

How do I merge a CVS branch into HEAD using the Eclipse merge tools?

I'm currently working in a branch I created using the Team-->Branch. How do I use Team-->Merge to merge my changes to the branch back to head?
Alex Argo
  • 8,920
  • 12
  • 43
  • 46
36
votes
8 answers

Version control PHP Web Project

We have a PHP project that we would like to version control. Right now there are three of us working on a development version of the project which resides in an external folder to which all of our Eclipse IDEs are linked, and thus no version…
Adam Lerman
  • 3,369
  • 9
  • 42
  • 53
36
votes
7 answers

Remove empty directory from CVS?

I'm not quite sure how this happened, but somehow a completely empty hierarchy of directories has ended up in my repository: com/ com/companyname/ com/companyname/blah/ com/sun/ com/sun/java/ com/sun/java/jax_rpc_ri/ I think what happened was that…
matt b
  • 138,234
  • 66
  • 282
  • 345
35
votes
5 answers

How to revert to previous commit in CVS

For legacy reasons, I'm using CVS on a project. Recently I committed some changes which broke our code and I needed to revert them. What's CVS's analog of git revert -r ? Looking at past questions like How to revert big change, CVS…
Fiona T
  • 1,921
  • 1
  • 15
  • 18
34
votes
8 answers

Context-aware merge?

Is there any diff/merge tool for programming languages, that works in a syntax-aware way (like XML Diff Tool), doing more than compare line-by-line (and optionally ignoring whitespace). I'm interested in a program actually following the language…
SF.
  • 13,549
  • 14
  • 71
  • 107
31
votes
1 answer

Convert git repository file encoding

I have a large CVS repository containing files in ISO-8859-1 and want to convert this to git. Sure I can configure git to use ISO-8859-1 for encoding, but I would like to have it in utf8. Now with tools such as iconv or recode I can convert the…
Bertram Nudelbach
  • 1,783
  • 2
  • 15
  • 27
29
votes
10 answers

How do I revert a big change in CVS?

One of my colleagues has totally messed up the contents of a directory in our main CVS repository. I need to just revert the whole module to the state it was in at the end of last year. What's the CVS command to do this please? He has added and…
user9876
  • 10,954
  • 6
  • 44
  • 66
27
votes
1 answer

GitHub or BitBucket?

I would like to host my code in the cloud. Which one would you recommend?
eos87
  • 8,961
  • 12
  • 49
  • 77
27
votes
5 answers

How do we verify commit messages for a push?

Coming from CVS, we have a policy that commit messages should be tagged with a bug number (simple suffix "... [9999]"). A CVS script checks this during commits and rejects the commit if the message does not conform. The git hook commit-msg does this…
Dale Forester
  • 18,145
  • 10
  • 27
  • 27
27
votes
4 answers

Is there a way to get a short CVS status from command line?

When doing a cvs update, you get a nice summary of the state of the repository, for example: M src/file1.txt M src/file2.txt C src/file3.txt A src/file4.txt ? src/file5.txt Is there a way to get this without actually updating? I know there is cvs…
Johannes Hoff
  • 3,731
  • 5
  • 31
  • 37
26
votes
5 answers

Why is deleting a branch in CVS not recommended?

Under what circumstances would this or would this not be safe? I have a branch that has a four changes (no file add or deletes). Would this be safe to delete? Edit: The reason for wanting to delete it is that it was misnamed and is going to lead to…
Ed Thomas
  • 1,153
  • 1
  • 12
  • 21
25
votes
8 answers

How can I list files in CVS without an initial checkout?

How can I list files CVS without an initial checkout? In subversion I can simply do "svn ls http://svn.svn.com" in CVS how can I do this? For example I've got this CVS connection: pserver:anonymous@evocms.cvs.sourceforge.net:/cvsroot/evocms How…
dr. evil
  • 26,944
  • 33
  • 131
  • 201