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

Re: [PATCH] cvs2svn into subdirectory of existing repository

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2002-07-22 16:46:41 CEST

On Mon, Jul 22, 2002 at 04:12:29PM +0200, Swen Thuemmler wrote:
> On Mon, Jul 22, 2002 at 01:37:05PM +0200, Swen Thuemmler wrote:
>
> > Swen Thuemmler <swen@mediaways.net> writes:
> >
> > > Three cheers to this (I was thinking about something like that, too, to be
> > > able to create the svn files in /head or /trunk). Thanks.
> >
> > No, i don't think that's what you want. cvs2svn needs to support
> > tags and branches, and then you wouldn't want all those showing up
> > under a directory called /head or /trunk.
>
> Hmmm, ok, point taken. But how will branches get handled then? When cvs2svn just
> creates a subdirectory under the main directory, things could get messy
> (you might then end up with something like
> .../repos/dira
> .../repos/dirb
> .../repos/branches/branch1/dira
> .../repos/branches/branch1/dirb
> .../repos/tags/tag_1/dira
> .../repos/tags/tag_1/dirb
>
> I'm not sure what will get checked out, when I just check out repos (I do not
> want the branches and tags directories get checked out, too). I am not familiar
> with branches and tags in subversion.

there is no 'one true way' to handle branches and tags in subversion,
it's all up to the admin of the repository how they want to set thigns
up. that said, the way we've been doing things in subversion's own
subversion repository is that the top level looks like this:

/tags
/branches
/trunk

the mainline development is in /trunk, with tags made in /tags and
branches living in /branches. so when cvs2svn.py is taught to know
about branches, it should probably do something similar. the main
code should go in one directory (like /trunk), and tags and branches
should live in separate top level directories.

-garrett

-- 
garrett rooney                    Remember, any design flaw you're 
rooneg@electricjellyfish.net      sufficiently snide about becomes  
http://electricjellyfish.net/     a feature.       -- Dan Sugalski
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jul 22 16:47:12 2002

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

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