summaryrefslogtreecommitdiff
path: root/git/db/py/resolve.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2011-05-30 13:06:37 +0200
committerSebastian Thiel <byronimo@gmail.com>2011-05-30 13:06:37 +0200
commit024adf37acddd6a5d8293b6b5d15795c59a142c0 (patch)
tree3610b99168f984acb0eefe3a995295f4d3b1d096 /git/db/py/resolve.py
parent112bb1672d6b28f203e7839e320b985486636800 (diff)
downloadgitpython-024adf37acddd6a5d8293b6b5d15795c59a142c0.tar.gz
Fixed tests far enough to allow basic repository tests to be applied to any of the new database types. This reduces code duplication to the mere minimum, but allows custom tests to be added on top easily and flexibly
Diffstat (limited to 'git/db/py/resolve.py')
-rw-r--r--git/db/py/resolve.py13
1 files changed, 10 insertions, 3 deletions
diff --git a/git/db/py/resolve.py b/git/db/py/resolve.py
index d0685747..7194149c 100644
--- a/git/db/py/resolve.py
+++ b/git/db/py/resolve.py
@@ -3,12 +3,19 @@ version assuming compatible interface for reference and object types"""
from git.db.interface import ReferencesMixin
from git.exc import BadObject
-from git.refs import SymbolicReference
-from git.objects.base import Object
-from git.objects.commit import Commit
+from git.refs import (
+ SymbolicReference,
+ Reference,
+ HEAD,
+ Head,
+ TagReference
+ )
from git.refs.head import HEAD
from git.refs.headref import Head
from git.refs.tag import TagReference
+
+from git.objects.base import Object
+from git.objects.commit import Commit
from git.util import (
join,
isdir,