Mercurial > hgsubversion
changeset 678:26ff4564a123
svnwrap: suggest installing Subvertpy when no bindings are present
| author | Dan Villiom Podlaski Christiansen <danchr@gmail.com> |
|---|---|
| date | Wed, 11 Aug 2010 19:57:35 +0200 |
| parents | d81e0abb2d27 |
| children | 0b4e323ebedd |
| files | hgsubversion/svnwrap/__init__.py |
| diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hgsubversion/svnwrap/__init__.py +++ b/hgsubversion/svnwrap/__init__.py @@ -11,4 +11,8 @@ from common import * try: from subvertpy_wrapper import * except ImportError, e: - from svn_swig_wrapper import * + try: + from svn_swig_wrapper import * + except ImportError: + # propagate the subvertpy error; it's easier to install + import subvertpy_wrapper
