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

Re: Ignored vs. Unversioned

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2002-08-25 17:26:32 CEST

Jon Trowbridge <trow@ximian.com> writes:

> I've come across a small problem in how subversion handles ignored
> files.
> In svn_wc.h, the comment starting at line 612 states that:
> * Ignored files should have a text_status of svn_wc_status_none.
> * Non-ignored Files that are not under version control should have a
> text_status of svn_wc_status_unversioned.
> However, this isn't how things work out in practice. When I call
> svn_client_status with the no_ignore flag set, both ignored and
> unversioned files come back with text_status svn_wc_status_unversioned.
> Actually being able to distinguish between these two types of files
> would be helpful to me for my work on gsvn.
> I've attached a patch that "fixes"[1] this, in the sense that ignored
> files will come back with a text_status of svn_wc_status_none.

I am confused by your comments. If you have no_ignore set TRUE then
that means that there are no ignored files. From that it follows that
all files on disk are either versioned or unversioned. Why do you
expect there to be any ignored files if no_ignore is set TRUE?

Philip Martin
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Aug 25 17:27:08 2002

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.