You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Quinn Comendant <qu...@strangecode.com> on 2005/05/29 00:15:13 UTC

my first repository/ies

Hello!

I'm a new subversion (or cvs) user and need some advice setting up my
development environment. I have multiple projects that I would like to
have in the separate repositories, but on the local working copy the
projects will be intermixed. One is my php application framework that is
used for all website applications I develop. The other is the code for a
specific website. For example: 

Codebase repository, contains:
    admin_common
    codebase

Site repository, contains:
    admin
    htdocs
    config

And on the local working copy the directory structure will be:
    admin_common
    codebase
    admin
    htdocs
    config

But when I try to checkout the repositories into my working directory, it
doesn't work, i.e.:

cd ~/Code/live
svn co svn+ssh://strangecode.com/home/p/subv/codebase .
svn co svn+ssh://strangecode.com/home/p/subv/dcfwww .

Apparently two projects can't share the same working directory? I'm
trying to avoid having to move the projects into separate local
directories each time I want to update/add/commit/etc and move back to
continue working.

There will be 3 other developers working on our projects. For each site
we're using Trac to manage tickets and refer to the repositories, hence
the requirement for separate repositories.

Obviously I have no idea what I'm doing.

Quinn


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: my first repository/ies

Posted by Ryan Schmidt <su...@ryandesign.com>.
On 29.05.2005, at 02:15, Quinn Comendant wrote:

> I'm a new subversion (or cvs) user and need some advice setting up my
> development environment. I have multiple projects that I would like to
> have in the separate repositories, but on the local working copy the
> projects will be intermixed. One is my php application framework that 
> is
> used for all website applications I develop. The other is the code for 
> a
> specific website. For example:
>
> [snip]
>
> Apparently two projects can't share the same working directory? I'm
> trying to avoid having to move the projects into separate local
> directories each time I want to update/add/commit/etc and move back to
> continue working.
>
> There will be 3 other developers working on our projects. For each site
> we're using Trac to manage tickets and refer to the repositories, hence
> the requirement for separate repositories.

If you're going to share code, then you really want all the code in a 
single repository. Trac's one-project-equals-one-repository mindset is 
the reason why we did not end up using Trac in our company, but went 
with Mantis instead.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: my first repository/ies

Posted by Blair Zajac <bl...@orcaware.com>.
Quinn Comendant wrote:
> Hello!
> 
> I'm a new subversion (or cvs) user and need some advice setting up my
> development environment. I have multiple projects that I would like to
> have in the separate repositories, but on the local working copy the
> projects will be intermixed. One is my php application framework that is
> used for all website applications I develop. The other is the code for a
> specific website. For example: 
> 
> Codebase repository, contains:
>     admin_common
>     codebase
> 
> Site repository, contains:
>     admin
>     htdocs
>     config
> 
> And on the local working copy the directory structure will be:
>     admin_common
>     codebase
>     admin
>     htdocs
>     config
> 
> But when I try to checkout the repositories into my working directory, it
> doesn't work, i.e.:
> 
> cd ~/Code/live
> svn co svn+ssh://strangecode.com/home/p/subv/codebase .
> svn co svn+ssh://strangecode.com/home/p/subv/dcfwww .

Yes, this will not work.  A directory in a working copy may only refer 
to a single URL in a repository.

Regards,
Blair

-- 
Blair Zajac, Ph.D.
<bl...@orcaware.com>
Subversion and Orca training and consulting
http://www.orcaware.com/svn/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org