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

Re: Creating a project

From: Saulius Grazulis <grazulis_at_ibt.lt>
Date: 2006-02-28 08:55:50 CET

On Tuesday 28 February 2006 09:20, garyt wrote:

> I've created a repository and now want to add a project, two questions:

> 1) Do I have to manually create the trunk,tags and branches folders and
> put them in a folder in the repository or are those folders
> automatically created if I use the 'svn import' command.

No, I believe they are not. You will have to add them manually, somethink

svn mkdir file:///path/to/repo/trunk
svn mkdir file:///path/to/repo/branches
svn mkdir file:///path/to/repo/tags

Moreover, you tag directory will accept commits to tags untill you adapt a
proper template from the hooks/ subdir in your new repo. That is to say,
without a hook script your tags a just another bunch of branches.

> 2)Is there a command to view a list of all the projects in a repository ?

svn list file:///path/to/repo

Dr. Saulius Gra┼żulis
Institute of Biotechnology
Graiciuno 8
LT-02241 Vilnius
Lietuva (Lithuania)
fax:          (+370-5)-2602116
tel.: office: (+370-5)-2602556
      mobile: (+370-684)-49802, (+370-614)-36366
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Feb 28 08:58:14 2006

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