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

Re: crash when fetching status

From: Ben Reser <ben_at_reser.org>
Date: 2004-11-06 01:22:14 CET

On Fri, Nov 05, 2004 at 08:52:26PM +0100, Stefan wrote:
> Maybe you can explain the difference of svn_wc_status_unversioned and
> svn_wc_status_none to me. I've read the API-docs but that's not really
> mentioned. At least I haven't found an explanation why there are two
> statuses for (IMHO) the same.

none should be used for files that don't exist. unversioned should be
for files that are not versioned and do exist. I.E. if you asked for a
status on a non existant file you'd get none. If you ask for a status
on a file that is a build product (and not in the repo) you'd get
unversioned.

Though I thought the API docs were clear:

    /** does not exist */
    svn_wc_status_none = 1,
  
    /** is not a versioned thing in this wc */
    svn_wc_status_unversioned,

-- 
Ben Reser <ben@reser.org>
http://ben.reser.org
"Conscience is the inner voice which warns us somebody may be looking."
- H.L. Mencken
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Nov 6 01:22:29 2004

This is an archived mail posted to the Subversion Dev mailing list.