summaryrefslogtreecommitdiff
path: root/git/db/complex.py
diff options
context:
space:
mode:
Diffstat (limited to 'git/db/complex.py')
-rw-r--r--git/db/complex.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/git/db/complex.py b/git/db/complex.py
new file mode 100644
index 00000000..dc85a595
--- /dev/null
+++ b/git/db/complex.py
@@ -0,0 +1,12 @@
+"""Module with many useful complex databases with different useful combinations of primary implementations"""
+
+from py.complex import PureGitDB
+from cmd.complex import CmdGitDB
+from compat import RepoCompatInterface
+
+__all__ = ['CmdGitDB', 'PureGitDB', 'PureCmdGitDB']
+
+class PureCmdGitDB(PureGitDB, CmdGitDB, RepoCompatInterface):
+ """Repository which uses the pure implementation primarily, but falls back
+ to the git command implementation. Please note that the CmdGitDB does it
+ the opposite way around."""