From 16a13276f26e2b4b0cad35c66a527bb8d128d587 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Fri, 8 Jul 2011 10:28:17 +0200 Subject: Added basic frame for pygit2 - it just needs some basic methods to be implemented now - depending on the performance, it might actually receive some more work --- git/test/performance/db/test_odb_dulwich.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'git/test/performance/db/test_odb_dulwich.py') diff --git a/git/test/performance/db/test_odb_dulwich.py b/git/test/performance/db/test_odb_dulwich.py index 069c5b43..aa886e08 100644 --- a/git/test/performance/db/test_odb_dulwich.py +++ b/git/test/performance/db/test_odb_dulwich.py @@ -1,6 +1,13 @@ -from git.db.dulwich.complex import DulwichCompatibilityGitDB +try: + from git.db.dulwich.complex import DulwichCompatibilityGitDB +except ImportError: + from git.db.complex import PureCompatibilityGitDB as DulwichCompatibilityGitDB +#END handle dulwich compatibility + +from git.test.db.dulwich.lib import DulwichRequiredMetaMixin from odb_impl import TestObjDBPerformanceBase class TestPureDB(TestObjDBPerformanceBase): + __metaclass__ = DulwichRequiredMetaMixin RepoCls = DulwichCompatibilityGitDB -- cgit v1.2.3