23.8.09

SVN repo creation

http://subversion.tigris.org/faq.html#repository

Solution 1.

Create a common repository and use svn mkdir to create subdirectories for
different projects.

$svnadmin create /repo/svn
$svn mkdir file:///repo/svn/projA
$svn mkdir file:///repo/svn/projB
$svn mkdir file:///repo/svn/projC

Solution 2.

Create a normal directory, and create managed subdirectories for projects.

$mkdir /repo/svn
$svnadmin create /repo/svn/projA
$svnadmin create /repo/svn/projB
$svnadmin create /repo/svn/projC

These two solutions look like simliar. However, for the first one,
when projC change, the revision number changes in other two projects.

No comments: