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

Re: Repository creation question..

From: Greg Goodrich <ggoodrich_at_medinotes.com>
Date: 2004-11-12 18:59:01 CET

Glenn E. Sieb wrote:

> We're undergoing a conversion of a current CVS repo to SVN. What the
> Higher Ups would like me to do is to have a set of three repos, let's
> call them:
>
> Finance
> Database
> Utilities
>
> And under Finance, let's say we have three projects:
>
> blah1
> blah2
> blah3
>
> What we'd like to be able to do is have a tree that looks like:
>
> Finance
> |-blah1
> | |-trunk
> | |-tags
> | |-branches
> |-blah2
> | |-trunk
> | |-tags
> | |-branches
> |-blah3
> | |-trunk
> | |-tags
> | |-branches
> |
> Database
> |-blah4
> | |-trunk
> | |-tags
> | |-branches
> |-blah5
> | |-trunk
> | |-tags
> | |-branches
> |-blah6
> |
> Utilities
> |-blah7
> | |-trunk
> | |-tags
> | |-branches
> |-blah8
> | |-trunk
> | |-tags
> | |-branches
> |-blah9
> |-trunk
> |-tags
> |-branches
>
> We are curious if we can use this kind of layout and be able to do
> things like branch all of Finance in one fell swoop. So that blah1,
> blah2 and blah3 all get branched to 2.0, let's say?
>
You should be able to create a branch of all three of these projects,
but I believe it would take n commands, n being the number of projects,
in this case, three. Each branch would reside under its own project
folder, as you show in your "diagram".

> It doesn't seem clear to me that this would work.. my guess is we'd
> still have to branch each sub-project, but I'm hoping to be proven
> wrong. :)

Yes, you would, and tag each project too. I think it is doable, but
with more work than you may want. How about this structure instead:

Finance
|-trunk
| |-blah1
| |-blah2
| |-blah3
|-tags
| |-tagname
| |-blah1
| |-blah2
| |-blah3
|-branches
| |-branchname
| |-blah1
| |-blah2
| |-blah3
etc...
This gives you the ability to branch and tag all of Finance with one
command, as well as optionally checkout all of finance with one command.

>
> Thanks in advance!!
> Best,
> Glenn
>

-- 
*Greg Goodrich*
Development Manager
*MediNotes Corporation*
1025 Ashworth Road, Suite 222
West Des Moines, IA 50265
Phone: 515.327.8850 ext. 251/
/Fax: 515.327.8856
	
<http://www.medinotes.com>
*Charting Plus - "The Best EMR Value on the Market!"
**www.medinotes.com* <http://www.medinotes.com/>
 
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Nov 12 18:58:50 2004

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