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

Re: Walking the repository starting from a path

From: Edward Diener <ediener_at_loyaltyworks.com>
Date: 2004-08-19 22:21:12 CEST

"C. Michael Pilato" <cmpilato@collab.net> wrote in message
> "Edward Diener" <ediener@loyaltyworks.com> writes:
> > I am programming svn using Python and would like to know whether
> > there is a way of walking the repository starting from a particular
> > path in the SVN Python bindings.
> You can acquire an svn_fs_root_t object for a given revision
> using fs.revision_root(), and using fs.dir_entries() and some pathmath
> to crawl a directory.

What are the Python parameters and return values for these functions.

> > There is no documentation and practically no comments in the SWIG
> > Python bindings so I am asking this here.
> The documentation for the swig bindings is largely found in the
> subversion/include directory -- we're just exposing the C API,
> generally speaking.

To say that there is documentation in the subversion/include directory is a
misnomer. I do see the subversion API documentation, but this does not tell
me the equivalent Python constructs to their C++ counterparts. I am a C++
programmer also but trying to figure out what Python expects as opposed to
C++ is a major headache. SWIG is very clever but impossible to understand.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Aug 19 22:22:06 2004

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.