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

your question about schedule_replace

From: Greg Stein <gstein_at_gmail.com>
Date: Thu, 15 Oct 2009 22:49:42 -0400

Hey Stefan,

I saw on IRC that you asked about the equivalent for the old
schedule_replace. It isn't straight-forward, so you should use the
following function from questions.c:

svn_error_t *
svn_wc__internal_is_replaced(svn_boolean_t *replaced,
                             svn_wc__db_t *db,
                             const char *local_abspath,
                             apr_pool_t *scratch_pool)

It is equivalent to the wc-1 concept of:

  *replaced = entry->schedule == svn_wc_schedule_replace;

Cheers,
-g

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2408083
Received on 2009-10-16 04:50:04 CEST

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