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

Questions about migrating svn_wc_schedule_t usage to wc-ng

From: Dave Brown <dave.brown_at_wandisco.com>
Date: Tue, 22 Sep 2009 17:03:26 -0700

Hi all,

I've been working on removing svn_wc_entry_t usage in
libsvn_client/export.c. Most of the fields from wc_entry_t needed by
export.c have fetch api's already (svn_wc_private.h / node.c), except
wc_entry_t->schedule. I see that it =~ wc-ng's svn_wc__db_status_t, so
I've added a fetch function for a node's svn_wc_schedule_t, akin to
svn_wc__node_get_kind(), to translate wc-ng values -> wc_schedule_t. So
I'd like to check - does this sound like the right track? If so, I have
follow up questions on translating some of the svn_wc__db_status_t
values (entries.c is doing this now).

It also occurred to me that perhaps the plan is to promote the wc_db.h
api's to be more public at some point, which might change how this sort
of thing would be handled.

If this all sounds close to "right" I'll send along a patch.

-dave

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2398693
Received on 2009-09-23 02:03:35 CEST

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