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

Re: Use of Subversion to track existing directory

From: Saulius Grazulis <grazulis_at_akl.lt>
Date: 2006-03-19 16:22:29 CET

On Sunday 19 March 2006 17:18, Ryan Schmidt wrote:

> The  
> only reason not to do it directly in the repository is that the  
> direct route will add multiple new revisions whereas importing an  
> empty structure would make only a single revision.

I was also thinking that in-the-repo commands will add multiple revision up to
this minute, but I have just checked -- you can create all structure with a
single 'svn mkdir' command (and thus with a single revision):

svn mkdir file://path/to/repo/{trunk,branches,tags}

Which is just a shortcut for:

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

-- 
Saulius Gražulis
Visuomeninė organizacija "Atviras Kodas Lietuvai"
P.Vileišio g. 18
LT-10306 Vilnius
Lietuva (Lithuania)
tel/fax:      (+370-5)-210 40 05
mobilus:      (+370-684)-49802, (+370-614)-36366

  • application/pgp-signature attachment: stored
Received on Sun Mar 19 16:23:06 2006

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.