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

Re: Symlink handling in svn status broken

From: Phillip Susi <psusi_at_cfl.rr.com>
Date: 2005-09-22 19:45:49 CEST

Philip Martin wrote:
> svnadmin create repo
> svn co file://`pwd`/repo wc
> svn mkdir wc/trunk
> svn ci -m "" wc
> ln -s trunk wc/branches
> svn add wc/branches
> svn ci -m "" wc
> svn up wc
> svn st -v wc/trunk wc/branches
>

Try this:

svnadmin create repo
svn co file://`pwd`/repo wc
svn mkdir wc/trunk
svn ci -m "" wc
cd wc
mv trunk ..
ln -s ../trunk trunk
svn st

The key thing is to be in the wc directory which has a .svn/entries file
that says it should have a child directory named trunk. Trunk gets
moved elsewhere and replaced with a symlink, then when you do an svn st,
it thinks that trunk is a file but should be a directory, so it reports
it as a collision.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Sep 22 19:46:31 2005

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