You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Garrett Rooney <ro...@electricjellyfish.net> on 2002/06/15 01:08:04 UTC
out of date comment in libsvn_wc/update_editor.c?
so i just noticed a coment in libsvn_wc/update_editor.c that looks
like it might be out of date:
/* Gets set iff this directory has a "disjoint url", i.e. its URL is
not its [parent's URL + name].
### NOTE: this editor is now detecting disjoint files and
subtrees, but is not yet *using* this information. It will when
we finish issue #575.
*/
svn_boolean_t disjoint_url;
is this still valid? issue #575 has been resolved for a while,
afaik...
-garrett
--
garrett rooney Remember, any design flaw you're
rooneg@electricjellyfish.net sufficiently snide about becomes
http://electricjellyfish.net/ a feature. -- Dan Sugalski
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: out of date comment in libsvn_wc/update_editor.c?
Posted by cm...@collab.net.
Karl Fogel <kf...@newton.ch.collab.net> writes:
> Garrett Rooney <ro...@electricjellyfish.net> writes:
> > so i just noticed a coment in libsvn_wc/update_editor.c that looks
> > like it might be out of date:
> >
> > /* Gets set iff this directory has a "disjoint url", i.e. its URL is
> > not its [parent's URL + name].
> >
> > ### NOTE: this editor is now detecting disjoint files and
> > subtrees, but is not yet *using* this information. It will when
> > we finish issue #575.
> > */
> > svn_boolean_t disjoint_url;
> >
> > is this still valid? issue #575 has been resolved for a while,
> > afaik...
>
> Yes, this code is rather odd. #575 claims to be resolved, but all
> occurrences of `disjoint_url' in update_editor.c are clearly without
> effect. This makes me wonder if 575 was resolved by other means (the
> new commit system), and all this disjoint_url stuff in update_editor.c
> is irrelevant.
>
> Mike, Ben? Just search for "disjoint_url", see if it's relevant any
> more. It's certainly not doing anything now; I just can't tell if
> there's anything planned for it...
I can't really think of a good reason for variable remaining. The job
of determining disjointness is/will-continue-to-be handled by the
reporter (svn_wc_crawl_revisions), even after we have nested
multi-repository working copy support.
Ben?
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: out of date comment in libsvn_wc/update_editor.c?
Posted by Karl Fogel <kf...@newton.ch.collab.net>.
Garrett Rooney <ro...@electricjellyfish.net> writes:
> so i just noticed a coment in libsvn_wc/update_editor.c that looks
> like it might be out of date:
>
> /* Gets set iff this directory has a "disjoint url", i.e. its URL is
> not its [parent's URL + name].
>
> ### NOTE: this editor is now detecting disjoint files and
> subtrees, but is not yet *using* this information. It will when
> we finish issue #575.
> */
> svn_boolean_t disjoint_url;
>
> is this still valid? issue #575 has been resolved for a while,
> afaik...
Yes, this code is rather odd. #575 claims to be resolved, but all
occurrences of `disjoint_url' in update_editor.c are clearly without
effect. This makes me wonder if 575 was resolved by other means (the
new commit system), and all this disjoint_url stuff in update_editor.c
is irrelevant.
Mike, Ben? Just search for "disjoint_url", see if it's relevant any
more. It's certainly not doing anything now; I just can't tell if
there's anything planned for it...
-K
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org