Mercurial > hgsubversion
view svnwrap/tests/__init__.py @ 298:32d3f1716e66
Two minor optimisations/cleanups for svn_swig_wrapper:
- 'self' is not used in 'RaCallbacks', so use the @staticmethod
decorator syntax introduced in Python 2.4.
- Make 'Revision' derive from 'tuple' and use property getters to
obtain the individual values. In N+1 years, we can use the
NamedRecord introduced in Python 2.6.
author | Dan Villiom Podlaski Christiansen <danchr@gmail.com> |
---|---|
date | Fri, 27 Mar 2009 02:50:01 +0100 |
parents | 79b0e059319d |
children |
line wrap: on
line source
import sys import os sys.path.append(os.path.dirname(os.path.dirname(os.path.dirname(__file__))))