[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: Philip Martin <philip_at_codematters.co.uk>
Date: 2005-09-22 20:06:07 CEST

Phillip Susi <psusi@cfl.rr.com> writes:

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

I'm not sure that qualifies as a bug, you are disrupting the versined
filesystem. Subversion assumes that versioned files are files and
that versioned directories are directories. If you deliberately break
those assumptions it's not surprising things don't work.

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Sep 22 20:06:56 2005

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.