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

newbie question: import and co to the same directory?

From: Mike Carifio <carifio_at_usys.com>
Date: 2003-07-16 23:55:31 CEST

Suppose I have some content tree like ~/tree:

$ cd ~
$ mkdir tree-svn
$ svnadmin create tree-svn # ~/tree-svn holds ~/tree content
$ svn import -m "tree init" file://$PWD/tree-svn tree

Now, what I do today is:

$ mv tree tree.dist
$ svn co file://$PWD/tree-svn tree

This *doesn't* work with /etc because svn faults:

$ su
# cd /; mkdir /etc-svn; svnadmin create file:///etc-svn
# svn import -m "etc init" file:///etc-svn etc
# mv etc etc.dist # nope, won't work
# svn co file:///etc-svn etc # svn can't find /etc/ld.so.conf?

So, I guess what I'd like is something like:

$ cd ~
$ mkdir tree-svn
$ svnadmin create tree-svn
$ svn import -m "tree init" file://$PWD/tree-svn tree
$ svn co file://$PWD/tree-svn tree # co dies midway

So I'm missing something somewhere. Let's educate the silly newbie. Thanks.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Aug 27 15:45:25 2003

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.