On 17 Aug 2005 14:53:28 -0500, C. Michael Pilato <cmpilato@collab.net> wrote:
> David James <james82@gmail.com> writes:
>
> > I'd like to be sure that svn_export_empty_files.py is compatible with
> > Python 2.2 before merging it to 1.2.x. So I've posted a patch.
> >
> > [[[
> > Python 2.2 Compatibility for svn_export_empty_files.py.
> >
> > * contrib/client-side/svn_export_empty_files.py:
> > (__main__): Use getopt instead of gnu_getopt for compatibility with
> > versions of
> > Python older than 2.4. Explicitly declare '--delete' as tuple for
> > compatibility
> > with Python 2.2.
> > ]]]
> >
> > By the way, the svn_export_empty_files.py script is really nice --
> > it's the first script I've seen that properly uses the svn.client and
> > svn.ra layers to access remote respositories using the Python
> > bindings. Has anyone seen similar scripts?
>
> ViewCVS. (And it's been doing so for, like, a year or something.)
> And I've done some custom work for a CollabNet customer that used
> those bits.
Wow, ViewCVS has a wrapper layer around Subversion, called "vclib",
which even works with remote repositories! Can we bring this code into
Subversion? This would make it much easier for Subversion users to
access remote repositories using the Python bindings.
Cheers,
David
P.S. The Python bindings are already partly under the Revised BSD
license (same as the ViewCVS license), so there'll be no license
interoperability issues.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Aug 17 22:39:04 2005