I’m stuck: I can’t get subversion to tell me if a file is to be ignored in a repository. That is a file which is not yet existant in the working directory…

I first thought this might be a limitation of the pySVN api (which e.g. doesn’t expose the singleStatus of the C++ API), but the C++ API also returns a None-Status. So I started browsing the subversion source… There is a function called svn_wc_get_ignores in there which internally collects the ignore patterns, but I can’t find an exposed version of it I could use.

So I see two choices: going away from subversion to some other SCM as base, or restricting the support of ignores to those defined in svn:ignore and a set of builtins of laysvn (like *~)