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

Re: [Subclipse-dev] [BUG][svnClientAdapter] Problem with SVNStatusUtils.isManaged

From: Manfred Klug <manklu_at_web.de>
Date: 2006-10-19 18:07:25 CEST

> -----Ursprüngliche Nachricht-----
> Von: Mark Phippard <markp@softlanding.com>
> Gesendet: 19.10.06 17:44:01
> An: dev@subclipse.tigris.org
> Betreff: Re: [Subclipse-dev] [BUG][svnClientAdapter] Problem with SVNStatusUtils.isManaged

> Manfred Klug <manklu@web.de> wrote on 10/19/2006 11:07:27 AM:
>
> > > Manfred Klug <manklu@web.de> wrote on 10/08/2006 02:37:43 AM:
> > >
> > > > isManaged based on the text status does not work reliably, since an
> > > > unversioned or ignored folder may have a text status of external
> which
> > > > is interpreted as managed.
> > >
> > > Are you talking about something like a multi-folder svn:externals
> > > property. I know when svn processes this it will create folders that
> have
> > > no .svn folders until it gets down to the final folder. Is that the
> > > scenario you mean?
> >
> > This is the scenario where I have detected the problem.
> >
> > > Do you have a suggested fix?
> >
> > If LocalResourceStatus would contain the repository revision, I could
> fix it.
>
> It has the lastChangedRevision, wouldn't that be good enough?

I am blind ;)
Any revision number is good. The only question is whether there is a number or not.

> I was thinking that maybe in ResourceStatus where it stores the text
> status, if it has a value of EXTERNAL and the lastChangedRevision < 1 we
> could change it to UNVERSIONED?

Manfred
______________________________________________________________________
XXL-Speicher, PC-Virenschutz, Spartarife & mehr: Nur im WEB.DE Club!
Jetzt gratis testen! http://freemail.web.de/home/landingpad/?mc=021130

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: dev-help@subclipse.tigris.org
Received on Thu Oct 19 18:07:31 2006

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

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