Rev 1054: Add test for missing compiled extensions. in file:///data/jelmer/bzr-svn/cext/
Jelmer Vernooij
jelmer at samba.org
Mon Jun 2 22:15:49 BST 2008
At file:///data/jelmer/bzr-svn/cext/
------------------------------------------------------------
revno: 1054
revision-id: jelmer at samba.org-20080602211549-utgt0381j59eahmd
parent: jelmer at samba.org-20080602211251-1u4jwgd736l7678p
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: cext
timestamp: Mon 2008-06-02 23:15:49 +0200
message:
Add test for missing compiled extensions.
modified:
Makefile makefile.other-20080311181537-5svhje3v1flh1n4f-1
__init__.py __init__.py-20051008155114-eae558e6cf149e1d
=== modified file 'Makefile'
--- a/Makefile 2008-06-02 17:47:59 +0000
+++ b/Makefile 2008-06-02 21:15:49 +0000
@@ -8,7 +8,7 @@
RST2HTML ?= rst2html
TESTS ?=
-all:: build README.html FAQ.html AUTHORS.html
+all:: build build-inplace README.html FAQ.html AUTHORS.html
build::
$(SETUP) build
=== modified file '__init__.py'
--- a/__init__.py 2008-05-30 02:38:27 +0000
+++ b/__init__.py 2008-06-02 21:15:49 +0000
@@ -83,6 +83,12 @@
raise RebaseNotPresent(e)
+def check_subversion_version():
+ try:
+ import core
+ except:
+ warning("Unable to load bzr-svn extensions - did you build it?")
+
register_transport_proto('svn+ssh://',
help="Access using the Subversion smart server tunneled over SSH.")
register_transport_proto('svn+file://',
@@ -121,6 +127,7 @@
return
versions_checked = True
check_bzrlib_version(COMPATIBLE_BZR_VERSIONS)
+ check_subversion_version()
optimizers_registered = False
def lazy_register_optimizers():
More information about the bazaar-commits
mailing list