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

Re: newbie question: import and co to the same directory?

From: Paul L Lussier <pll_at_lanminds.com>
Date: 2003-07-17 17:10:07 CEST

In a message dated: Wed, 16 Jul 2003 17:55:31 EDT
Mike Carifio said:

>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

Why are you doing both 'mkdir tree-svn' and 'svnadmin create tree-svn' ?

>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:

Why doesn't it work? What's the error? I do this all the time.

># mv etc etc.dist # nope, won't work
># svn co file:///etc-svn etc # svn can't find /etc/ld.so.conf?

Well, that's obvious. ld.so.conf is in /etc. ld is compiled to look
in /etc for ld.so.conf, and you just moved it out of the way.

>$ svn co file://$PWD/tree-svn tree # co dies midway

What errors are you getting?

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

Have you read the Subversion book and the FAQ? They're both online
at http://subversion.tigris.org/.

I recommend you dig into the book, it's very well written, and should
clear up a lot of your confusion.

-- 
Seeya,
Paul
--
Key fingerprint = 1660 FECC 5D21 D286 F853  E808 BB07 9239 53F1 28EE
	It may look like I'm just sitting here doing nothing,
   but I'm really actively waiting for all my problems to go away.
	 If you're not having fun, you're not doing it right!
---------------------------------------------------------------------
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:52:09 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.