Most common CVS gotchas from a SVN user standpoint
Asked Answered
F

4

10

I am myself a subversion user, and overall very happy with it. However, there are times that I need to work on code stored on a CVS repository that is beyond my control (ie, some open source projects). I've heard lots of horror stories of why CVS is really flawed, but nothing very concrete and would like to avoid getting trapped on such errors myself :-)

I'd like to know if you can enumerate all the gotchas and potential problems that may surge while accessing and working with code bases living on CVS, and how to deal with them.

From answered 10/2, 2009 at 15:21 Comment(0)
V
12
  • CVS does not version moves and renames
  • It does not version symlinks
  • Most important, IMO - Does not support atomic commits
  • Expensive and counter-intuitive branching
  • By default treats all files as textual
  • Limited support for Unicode
Vocalist answered 10/2, 2009 at 15:25 Comment(0)
P
3

There's some dir-related weirdness in CVS.

  • You can't really delete a directory. It sticks around
  • "cvs update" will not bring you the new directories created. You must add "-d" option

Another thing you'll miss is an analog of "svn revert" working w/o an access to the server.

Polyclitus answered 10/2, 2009 at 15:43 Comment(1)
It's been a while, but you can set up default arguments for cvs commands in some file or other. I always set up at least "-d" for cvs update.Imagination
S
2

You can't move a directory - you have to manually move it in the repository.

Stannic answered 10/2, 2009 at 15:53 Comment(0)
R
1

Merging and branching have been difficult points for CVS's in general.

Revolutionize answered 10/2, 2009 at 15:25 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.