[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: Hyrum K. Wright <hyrum_wright_at_mail.utexas.edu>
Date: Thu, 27 May 2010 19:37:24 -0500

On Thu, May 27, 2010 at 6:22 PM, Stefan Sperling <stsp_at_elego.de> wrote:

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

That's quite possible.

But at this point, we're starting to wander a bit off topic for this list
(and out of my league, too). I'll defer this discussion to Greg Stein, who
probably has some thoughts on the matter.

-Hyrum
Received on 2010-05-28 02:38:00 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.