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

Re: Looking for help writing meta data with swig bindings

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: 2007-08-16 18:36:48 CEST

Miller, Eric wrote:
> Could someone show me an example of using the swig bindings to write
> directly to the .svn/entries file?
>
> I think I want to use svn_wc__entries_write but I can't figure out how
> to call that from the swig bindings (I'm using the perl bindings atm).

Functions with double underscores (svn_wc*__*entries_write) are not public
API functions, and therefore are not exposed through our language bindings
interfaces.

> Does anyone have a ready example of reading/modifying/writing the
> entries data directly using the swig bindings?

This is strongly discouraged. But inevitably folks will find a need for
directly editing the .entries files. Fortunately, the 1.4 entries format is
super-simple to parse and write -- if you can read and understand
libsvn_wc/entries.c:write_entry() and read_entry(), you're golden.

-- 
C. Michael Pilato <cmpilato@collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

Received on Thu Aug 16 18:34:33 2007

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.