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

Doc string for svn_wc_status misleading?

From: Arild Fines <arild.fines_at_broadpark.no>
Date: 2004-09-10 03:11:26 CEST

The doc string for svn_wc_status states the following:

Here are some things to note about the returned structure. A quick
examination of the status->text_status after a successful return of this
function can reveal the following things:

svn_wc_status_none : path is not versioned, and is either not present on
disk, or is ignored by svn's default ignore regular expressions or the
svn:ignore property setting for path's parent directory.

svn_wc_status_missing : path is versioned, but is missing from the working

svn_wc_status_unversioned : path is not versioned, but is present on disk
and not being ignored (see above).

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.

AnkhSVN: http://ankhsvn.tigris.org
Blog: http://ankhsvn.com/blog
IRC: irc://irc.freenode.net/ankhsvn
"Weaseling out of things is good. It's what separates us from the other
animals....except weasels." -- Homer Simpson
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:11:44 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.