
842
|
Chapter 14: The Subversion Version Control System
This is the Title of the Book, eMatter Edition
Copyright © 2006 O’Reilly & Associates, Inc. All rights reserved.
Converting a Repository from CVS to Subversion
A very effective way to learn Subversion if you already know CVS is to move your
project from CVS to Subversion. The minimal way to accomplish this is to do a
flat import into a Subversion repository from an exported CVS repository.
However, this only gives you a “snapshot” of your repository; the revision history
(changes, logs, tags, branches, etc.) are not kept.
Copying a repository while maintaining history is a difficult problem to solve. Never-
theless, a few tools exist that at least partially convert existing CVS repositories into
new Subversion ones, such as cvs2svn, a Python script originally created by members
of Subversion’s own development community (see http://cvs2svn.tigris.org/), and Lev
Serebryakov’s RefineCVS (see http://lev.serebryakov.spb.ru/refinecvs/).
For an updated collection of links to known converter tools, visit the Links page
of the Subversion web site (http://subversion.tigris.org/project_links.html).
Special File Properties
Subversion allows you to associate properties with files or directories. A property is
just a keyword/value pair associated with the file. Subversion reserves property
names starting with svn: for its own use. The special properties in ...