Ok so the main thing (other than that you can't co on top of the
existing dir) is of course because you're trying to do this with /etc.
You naturally cannot mv /etc /whatever because /etc has lots of things
like ld.so.conf that the system really cannot do without, even for just
a second. What could get around this is
svn co file://<somepath>/etc-svn /foo
mv /foo /etc
before you do this though you'd better thing about file owner/group and
permissions. Since I'm just a user (and a primarily Windoze one at that)
I've no idea if svn co restores owner/group and permissions and this
would be also very important naturally.
Mike Carifio wrote:
> 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
--
Jens B. Jorgensen
jens.jorgensen@tallan.com
"With a focused commitment to our clients and our people, we deliver value through customized technology solutions"
---------------------------------------------------------------------
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:55:06 2003