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

RE: CVS update: subversion/subversion/include svn_client.h svn_wc .h

From: Bill Tutt <billtut_at_microsoft.com>
Date: 2001-01-09 00:58:05 CET

> From: Karl Fogel [mailto:kfogel@galois.collab.net]

> Bill Tutt <billtut@microsoft.com> writes:
> > Err. The status hash includes their names too... It's the hash key. So
> > guess I'm still not sure what Greg was wondering.

> The point is that, if you call svn_wc_statuses() on directory D with
> descend==0, then subdirs of D won't even show up in the return hash

          if (descend
              && (kind == svn_node_dir)
              && (strcmp (basename, SVN_WC_ENTRY_THIS_DIR) != 0))
            svn_wc_statuses (statushash, fullpath, descend, pool);
              err = add_status_structure (statushash, fullpath, entry,
              if (err) return err;

It sure looks like subdirs of D will show up in the return hash to me....
i.e. if (!descend) then add status to hash

> because we can't say anything useful about their status. We're not
> descending into them, after all.

> (Getting statuses is different from getting entries.)

Well, yeah, I can understand the rational behind not adding the subdirs to
the hash, but atm you are.

Received on Sat Oct 21 14:36:19 2006

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

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