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

Re: Doc string for svn_wc_status misleading?

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: 2004-09-10 03:41:51 CEST

"Arild Fines" <arild.fines@broadpark.no> writes:

> Looking at the code, there does not seem to be any way for
> text_status to be set to svn_wc_status_none for an ignored
> file. This means it is impossible to detect an ignored file using
> svn_wc_status alone.

The docstring is just out of date, I think. Here's a code comment
that seems to explain the state of the real world:

      /* If this path has no entry, but IS present on disk, it's
         unversioned. If this file is being explicitly ignored (due
         to matching an ignore-pattern), the text_status is set to
         svn_wc_status_ignored. Otherwise the text_status is set to
         svn_wc_status_unversioned. */

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Sep 10 03:44:21 2004

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.