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

Re: Can I get a working copy "in place"?

From: Greg Stein <gstein_at_lyra.org>
Date: 2002-11-05 01:20:10 CET

On Mon, Nov 04, 2002 at 10:48:35PM +0000, Alan Chandler wrote:
>...
> One possible approach I was considering was make an empty repository (that I
> will use for the /etc directory) and then checking it out into a dummy
> directory and then moving the .svn directory that results into /etc, then svn
> adding any file I want to include. I had a look at a .svn directory created
> this way and it doesn't appear to have anything related to the actual
> directory its in. Would this work?

It should work, but you could also check it out right into /etc. Something
like this:

$ svnadmin create /var/svnrepos/admin
$ svn mkdir -m "initial setup" file:///var/svnrepos/admin/trunk
$ cd /etc
$ svn co file:///var/svnrepos/admin/trunk .
$ svn add passwd group
$ svn commit -m "start loading it in"

I tested the 'svn co' into '.' just now. Works great.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Nov 5 01:19:31 2002

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.