Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Most common CVS gotchas from a SVN user standpoint

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.

like image 490
Camilo Díaz Repka Avatar asked Feb 10 '09 15:02

Camilo Díaz Repka


2 Answers

  • 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
like image 95
Anton Gogolev Avatar answered Oct 15 '22 21:10

Anton Gogolev


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.

like image 31
Ivan Krechetov Avatar answered Oct 15 '22 20:10

Ivan Krechetov