On Mon, Dec 09, 2002 at 07:53:22AM -0600, Ben Collins-Sussman wrote:
> Jon Middleton <jjm@ixtab.org.uk> writes:
>
> > Hi,
> >
> > I've been looking at the swig bindings and trying to write a couple of
> > functions to check if a file is unversioned or is ignored (ie has
> > status svn_wc_status_none and not svn_wc_status_unversioned).
> >
> > It would seem that on querying apr_hash_t (from svn.wc.svn_wc_status)
> > with svn_wc_status_t_text_status_get() it always returns
> > svn_wc_status_unversioned and never svn.wc.svn_wc_status_none even
> > when the file should be ignored.
> >
> > Looking back though the list archives and there's a patch from Jon
> > Trowbridge (29 Aug 2002 and 17 Oct) that should fix this problem, but
> > there were issues with it and has been commited.
>
> Hmmm... I committed Jon's patch already to specifically fix this
> problem. Are you getting this behavior with your ordinary commandline
> client? Maybe you're (accidentally) still using old swig bindings for
> libsvn_wc?
I do not get this behavior with the command line client and as I'm
also using self compiled debs (r4054 + a swig patch [1]) I should not be
using an out of date bindings.
I've had a look at the patch (r3746) and at the svn_wc_status
function. As svn_wc_status is likely to be called with a filename (as
I'm doing from the swig bindings) it would be nice if it defaulted to
no_ignore=True for assemble_status, so that ignored files get the
right status set, or if this is not possible a no_ignore option is
added so there a svn_wc_statuses like..
--
Jon
"First things first -- but not necessarily in that order"
-- The Doctor, "Doctor Who"
[1] The swig patch that I posted last night is needed to use these
functions though the swig bindings.
- application/pgp-signature attachment: stored
Received on Mon Dec 9 20:00:20 2002