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

Re: Strange status if .svn folder removed

From: Stefan Sperling <stsp_at_elego.de>
Date: Fri, 28 May 2010 01:22:08 +0200

On Thu, May 27, 2010 at 04:34:07PM -0500, Hyrum K. Wright wrote:
> On Thu, May 27, 2010 at 4:30 PM, Daniel Shahaf <d.s_at_daniel.shahaf.name>wrote:
>
> > How would recursing interact with symlinks into working copy dirs?
> > (I know we it have been discussed before; a pointer would be appreciated)
> >
> > eg:
> >
> > svn co $SVN_TRUNK trunk
> > ln -s trunk/notes notes
> > cd notes
> > svn st
> >
>
> Isn't this just a subset of the "severable working copy" use case?

I think Daniel means we should check if we're traversing a symbolic
link going upwards, do a readlink() on it and continue searching
for .svn upwards from where the link points to.
And maybe stop after N iterations to protect the innocent who set up
symlink loops accidentally :)

Stefan
Received on 2010-05-28 01:22:58 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.