From 112bb1672d6b28f203e7839e320b985486636800 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Mon, 30 May 2011 01:23:28 +0200 Subject: Finished moving all repository methods to the respective interfaces and implementations. It seems theoretically work together now, although it clearly is much more complex than ever before. The repo package was slimmed down to being a module once again, which is only there for compatability actually --- git/db/complex.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 git/db/complex.py (limited to 'git/db/complex.py') 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.""" -- cgit v1.2.1