"C. Michael Pilato" <cmpilato@collab.net> wrote in message
news:m3pt5mj40g.fsf@localhost.localdomain...
> "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