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

Re: [PATCH] Python 2.2 compatibility for svn_export_empty_files.py

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: 2005-08-17 21:53:28 CEST

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.

I was disappointed, though, svn_export_empty_files.py didn't expose
any of the prompting callbacks, as they do (or did, at one point)
work.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Aug 17 21:58:46 2005

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.