[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Location of repository and working copy

From: Ryan Schmidt <subversion-2008c_at_ryandesign.com>
Date: Fri, 5 Dec 2008 13:14:48 -0600

On Dec 4, 2008, at 14:24, Angel Tsankov wrote:

> Sometimes I create an SVN repository even for programs that I write
> for
> my own usage. In these cases, I wonder where to put the repo and the
> working copy. I usually hesitate between the following options:
>
> -- put the working copy in software/my_prog_1/wc and the repository
> in
> software/my_prog_1/svn_repo;
> -- put the working copy in software/my_prog_1 and the repository in
> svn_repos/my_prog_1;
> -- put the working copy in projects/my_prog_1/wc and the repository
> in
> projects/my_prog_1/svn_repo;
> -- put the working copy in projects/my_prog_1 and the repository in
> svn_repos/my_prog_1.
>
> What locations would you recomment and why?

I would recommend you put all repositories in one central location
reserved for that purpose. Personally I have all my repositories in
$HOME/subversion/repositories. Having them all in one place makes it
easy to serve the repositories using svnserve or http, and makes for
simple backup scripts; you can simply iterate over all repositories.

Your working copies on the other hand can go wherever you need them.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=980276

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2008-12-08 09:06:08 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.