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

RE: Multiple projects in one repository, like with CVS

From: Monks, Peter <peter.monks_at_vignette.com>
Date: 2004-06-20 17:33:43 CEST

G'day Kevin,

I'm a complete newbie myself, but what I've found is that you can
refer to the project you're interested in by adding subdirectories to
the repository URL you initially enter.

For example, if you have your repository set up like this

MyRepository
    MyProject1
        branches
        tags
        trunk
    MyProject2
        branches
        tags
        trunk
    ...

If you wanted to check out just the trunk for MyProject2, the URL you
would provide when checking out would look something like:

    svn://localhost/MyRepository/MyProject2/trunk

I have no idea if this is the "right" way of doing things, but that's
what I've been doing in my sandbox repository and it works like a
charm. I have yet to play with branching and tagging though, so I'm
not yet sure if this scheme facilitates that or not...

Cheers,
Peter

----------------------------------------------------------------------
Peter Monks http://www.sydneyclimbing.com/
pmonks_at_sydneyclimbing.com http://www.geocities.com/yosemite/4455/
----------------------------------------------------------------------

> -----Original Message-----
> From: Kevin Old [mailto:kevinold@gmail.com]
> Sent: Sunday, 20 June 2004 8:23am
> To: users@subversion.tigris.org
> Subject: Multiple projects in one repository, like with CVS
>
>
> Hello everyone,
>
> I'm a newbie to Subversion and am coming from a CVS.
>
> I've read some of the Subversion book and have read a few articles on
> setting it up, but still have one unansered question. Can I have
> multiple projects in one repository? I know the answer is "Yes", but
> I am confused a little at how Subversion knows I'm adding a new
> project.
>
> For instance in CVS I'd do:
>
> cvs import -m "Initial Checkin" myprojdir/ myproj start
>
> to add a new directory structure to the CVS repository.
>
> From all the examples I've seen on Subversion, it seems as though I
> might have to checkout the entire repository just to get the project I
> want....is this correct or am I confused?
>
> Any help is appreciated.
>
> Kevin
> --
> Kevin Old
> kevinold@gmail.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Jun 20 17:35:21 2004

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.