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

[PATCH] Python 2.2 compatibility for svn_export_empty_files.py

From: David James <james82_at_gmail.com>
Date: 2005-08-17 21:28:13 CEST

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?

Cheers,

David

-- 
David James -- http://www.cs.toronto.edu/~james


---------------------------------------------------------------------
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:33:22 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.