Get Ready for Subversion’s Reign: the CVS Killer

On Monday, the Subversion project is scheduled to release version 1.0 of their version control system, under development for several years now. Subversion was intended from its inception as the CVS replacement and it comes with many important features previously found only on commercial VCS like Perforce. It was designed for better remote performance, and it is multi-platform with a GUI/CLI front-end.Features:


* Directories, renames, and file meta-data are versioned.
* Commits are truly atomic.
* Apache as network server, WebDAV/DeltaV for protocol (separate standalone server also available)
* Branching and tagging are cheap (constant time) operations
* Natively client/server, layered library design
* Client/server protocol sends diffs in both directions
* Costs are proportional to change size, not data size
* Efficient handling of binary files
* Parseable output


Features to come post-1.0:
* Support for symbolic links
* Better merge support (currently same as CVS’)
* Broader WebDAV compatibility
* Support for plug-in client side diff programs


Interesting PowerPoint presentations explaining the features and the goals of Subversion: 1, 2.


More features and comparisons at the big VCS shootout.


Quick Tutorial:


Create a new svn repository, e.g.

$ cd /home/eugenia
$ svnadmin create svn

Populate your new repository by using an existing folder with your source code:
$ svn mkdir file:///home/eugenia/svn/tetris-sharp -m ‘Create Tetris project’
$ svn import file:///home/eugenia/svn /home/eugenia/tetris-sharp tetris-sharp/trunk \
-m ‘Initial Import of Tetris project’

The text accompanying the -m knob is added to the log.
To start working with your code you will need to checkout some files.
$ svn checkout file:///home/eugenia/svn/tetris-sharp ~/tetris-src

To commit a file just use one of the following. Please note that Subversion requires log entries each time you commit something.
$ svn commit *.cs -m “commit all .cs files”

or
$ svn commit *.cs data \
-m “save all .cs files in the current directory and everything in the tetris-src/data directory”

or
$ svn commit -m “commit all files that have changed since my last commit”


There are much more to explore in the very detailed Subversion Book.

43 Comments

  1. 2004-02-20 6:12 am
  2. 2004-02-20 6:14 am
  3. 2004-02-20 6:15 am
  4. 2004-02-20 6:19 am
  5. 2004-02-20 6:28 am
  6. 2004-02-20 6:48 am
  7. 2004-02-20 6:52 am
  8. 2004-02-20 6:58 am
  9. 2004-02-20 7:00 am
  10. 2004-02-20 7:40 am
  11. 2004-02-20 8:24 am
  12. 2004-02-20 8:41 am
  13. 2004-02-20 9:15 am
  14. 2004-02-20 9:34 am
  15. 2004-02-20 9:38 am
  16. 2004-02-20 11:20 am
  17. 2004-02-20 1:53 pm
  18. 2004-02-20 2:00 pm
  19. 2004-02-20 2:11 pm
  20. 2004-02-20 2:20 pm
  21. 2004-02-20 2:35 pm
  22. 2004-02-20 3:00 pm
  23. 2004-02-20 3:16 pm
  24. 2004-02-20 3:18 pm
  25. 2004-02-20 3:27 pm
  26. 2004-02-20 3:31 pm
  27. 2004-02-20 4:42 pm
  28. 2004-02-20 4:44 pm
  29. 2004-02-20 4:45 pm
  30. 2004-02-20 4:52 pm
  31. 2004-02-20 4:54 pm
  32. 2004-02-20 8:10 pm
  33. 2004-02-20 9:41 pm
  34. 2004-02-20 9:59 pm
  35. 2004-02-21 7:08 am
  36. 2004-02-21 3:36 pm
  37. 2004-02-21 5:34 pm
  38. 2004-02-21 8:09 pm
  39. 2004-02-22 6:36 pm
  40. 2004-02-22 9:19 pm
  41. 2004-02-23 7:16 am
  42. 2004-02-23 9:04 am