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

Re: repository layout mechanics

From: Ryan Schmidt <subversion-2008c_at_ryandesign.com>
Date: Fri, 4 Jul 2008 11:56:44 -0500

On Jul 4, 2008, at 11:30, Jim Anderson wrote:

> There are suggestions in the online book about how to layout the
> repository, but nowhere have I seen an indication of the
> "mechanics" involved. In other words, once I've decided how I want
> to position the trunk, branches, and tags directories how do I, as
> Captain Kirk used to say to Mr. Spock, "make it so"? Surely when
> creating a new project I don't need to contact the administrator
> and ask him to set up theappropriate directory structure.

They're just directories. Make them any way you like:

with remote repository URLs "svn mkdir --parents protocol://hostname/
repo/project1/{trunk,branches,tags} -m 'making structure for project1'"

or check out a working copy of the empty repository, make the
directories and commit, "svn checkout -N protocol://hostname/repo &&
svn mkdir --parents project1/{trunk,branches,tags} && svn commit -m
'making structure for project1'"

or make the structure locally and import it, "mkdir project1 project1/
{trunk,branches,tags} && svn import project1 protocol://hostname/repo/
project1 -m 'making structure for project1' && rm -rf project1"

(these are all from memory so please forgive any typos)

---------------------------------------------------------------------
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-04 18:57:11 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.