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

Repo layout

From: Waynn Lue <waynnlue_at_gmail.com>
Date: Fri, 4 Jul 2008 16:11:54 -0700

I have three separate web apps that have some shared code. Right now
I'm managing it by having three separate directories with their own
trunks, and then another direcrory for shared code that has to be
mapped a certain way on checkout. So I have

Repo/
 Proj1/trunk
 Proj2/trunk
 Proj3/trunk
 Shared/trunk

They all coexist in harmony, so in dev they could look like

Www/
 Proj1
 Foo/proj2/proj3
 Shared

Proj2 is a folder with just one checked in file in it. Should I
instead have my repo mirror the www directory? I avoided that at the
beginning because there are other unrelated files under www not under
source control.

So right now I run three svn checkout commands every time I need to
checkout, and commits don't really work across branches.

Is there a better way to do this? Should I be looking into
svn:external? I've spent some time reading the red book, but I
haven't been able to come to a conclusion.

Thanks,
Waynn

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-07-05 01:12:15 CEST

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.