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

Re: FS tree walking (was: Re: wcprops)

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2002-05-20 23:22:58 CEST

Greg Stein <gstein@lyra.org> writes:

> On Mon, May 20, 2002 at 04:00:56PM -0500, Ben Collins-Sussman wrote:
> >...
> > uc.resource_walk = TRUE;
>
> And let's also not ignore the fact that the above line puts the editor into
> a different "mode". The editor callbacks now have two potential code paths,
> based on a giant mode switch set by uc.resource_walk.
>
> (i.e. the original editor used to describe the changes to do the switch is
> now complicated because it has this second code-path wound through it)

Heh, I originally read the phrase "wound through it", and imagined a
long vowel, and thought to myself, "why yes, it is like a wound, an
ugly gash across the editor." :-)

It's not conceptually clean to do such a thing, but it turned out [in
this particular case] to require almost no change to the editor at
all. Just lucky.

Anyone want to write a generic fs walker?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon May 20 23:26:41 2002

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