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

Ignored vs. Unversioned

From: Jon Trowbridge <trow_at_ximian.com>
Date: 2002-08-25 08:19:15 CEST

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.

Thanks,
-JT

[1] I have no idea what kind of breakage this could lead to in other
    parts of the code, so I'm calling this a "fix" rather than a fix.
    Someone who actually knows what is going on will have to think it
    through.
 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Sun Aug 25 08:25:58 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.