From 4bb5107cff6f205f5c6e73a6f8bd22fc56f48cf4 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Thu, 7 Jul 2011 14:53:37 +0200 Subject: Initial version of the DulwichType inheritance. For now, it inherits everything from the existing implementation, but one by one things can be reimplmented to use dulwich. It also shows that py 2.6 is quite plagued from its new feature, which is actually a bug, as objects inability to accept any args makes mixins hard to use ... --- git/db/interface.py | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'git/db/interface.py') diff --git a/git/db/interface.py b/git/db/interface.py index 803f7769..9ad74cc1 100644 --- a/git/db/interface.py +++ b/git/db/interface.py @@ -561,16 +561,8 @@ class ReferencesMixin(object): raise NotImplementedError() #}END edit methods - - #{ Backward Compatability - # These aliases need to be provided by the implementing interface as well - refs = references - branches = heads - #} END backward compatability - - - - + + class RepositoryPathsMixin(object): """Represents basic functionality of a full git repository. This involves an optional working tree, a git directory with references and an object directory. -- cgit v1.2.1