You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Angel Tsankov <fn...@fmi.uni-sofia.bg> on 2008/12/04 20:24:59 UTC
Location of repository and working copy
Hello,
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?
Regards,
Angel Tsankov
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=979809
To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].
Re: Location of repository and working copy
Posted by Ryan Schmidt <su...@ryandesign.com>.
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@subversion.tigris.org].