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

Re: Help organizing subversion repository

From: Michael W Thelen <thelenm_at_cs.utah.edu>
Date: 2004-06-01 20:22:40 CEST

* William Garrison <svnuser@mobydisk.com> [2004-05-31 20:55]:
> Currently, the respository contains many projects, which contain many
> subprojects. There are also lots of things that expect a certain layout
> on the hard drive: Makefiles, build tools, utility software, etc. This
> is making it difficult to choose the appropriate layout:

A couple of thoughts I had (whether these will work for your situation,
I can't say)... since your build system assumes a particular layout, you
may want to consider top-level trunk, tags, and branches directories:

/trunk
   /projectA
      /subprojectA
      /subprojectB
/branches
/tags

etc. You can then organize the branches and tags directories however
you feel appropriate.

You may also consider putting all subprojects at the same level as the
top-level projects, and including them as needed using svn:externals.

http://svnbook.red-bean.com/svnbook/ch07s03.html

/projectA
   /trunk
      /subprojectA -> (external: /subprojectA/trunk)
      /subprojectB -> (external: /subprojectB/trunk)
   /branches
   /tags
/subprojectA
   /trunk
   /branches
   /tags
/subprojectB
   /trunk
   /branches
   /tags

This would allow you to branch and tag projects and subprojects as
needed without messing up the layout. Hope these ideas at least help
you out.

-- Mike

-- 
Michael W. Thelen
Civilization advances by extending the number of important operations we can
perform without thinking.
                -- Alfred North Whitehead

Received on Tue Jun 1 20:23:35 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.