You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Jim Anderson <ja...@jandernet.com> on 2008/07/04 16:30:38 UTC
repository layout mechanics
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.
Thanks,
Jim
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: repository layout mechanics
Posted by Jim Anderson <ja...@jandernet.com>.
Perfect! Thanks very much.
On Jul 4, 2008, at 12:56 PM, Ryan Schmidt wrote:
>
> 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@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: repository layout mechanics
Posted by Ryan Schmidt <su...@ryandesign.com>.
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@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org