aboutsummaryrefslogtreecommitdiff
path: root/git/refs
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2011-05-06 18:53:59 +0200
committerSebastian Thiel <byronimo@gmail.com>2011-05-06 18:53:59 +0200
commit7ae36c3e019a5cc16924d1b6007774bfb625036f (patch)
tree52ad2a3cd8187c42a3a02d6b08dda9493a23042b /git/refs
parentacf5e6ea64a2f24117f1d419c208ed1c38c43690 (diff)
downloadGitPython-7ae36c3e019a5cc16924d1b6007774bfb625036f.tar.gz
GitPython-7ae36c3e019a5cc16924d1b6007774bfb625036f.zip
Started to fix imports - tests still have no chance to work as database changed drastically. Now the actual work begins
Diffstat (limited to 'git/refs')
-rw-r--r--git/refs/head.py2
-rw-r--r--git/refs/log.py2
-rw-r--r--git/refs/remote.py2
-rw-r--r--git/refs/symbolic.py2
-rw-r--r--git/refs/tag.py4
5 files changed, 6 insertions, 6 deletions
diff --git a/git/refs/head.py b/git/refs/head.py
index 702ce468..4345528b 100644
--- a/git/refs/head.py
+++ b/git/refs/head.py
@@ -2,7 +2,7 @@
from symbolic import SymbolicReference
from git.exc import GitCommandError
-__all__ = ["HEAD", "Head"]
+__all__ = ["HEAD"]
class HEAD(SymbolicReference):
diff --git a/git/refs/log.py b/git/refs/log.py
index 2028efb9..80102e7f 100644
--- a/git/refs/log.py
+++ b/git/refs/log.py
@@ -10,7 +10,7 @@ from git.util import (
file_contents_ro_filepath
)
-from git.object.util import (
+from git.objects.util import (
parse_date,
Serializable,
utctz_to_altz,
diff --git a/git/refs/remote.py b/git/refs/remote.py
index b883b00b..f2dc72ee 100644
--- a/git/refs/remote.py
+++ b/git/refs/remote.py
@@ -8,7 +8,7 @@ from git.util import (
__all__ = ["RemoteReference"]
-class RemoteReference(GitDB_RemoteReference):
+class RemoteReference(Head):
"""Represents a reference pointing to a remote head."""
__slots__ = tuple()
diff --git a/git/refs/symbolic.py b/git/refs/symbolic.py
index 847c563d..1a0d3566 100644
--- a/git/refs/symbolic.py
+++ b/git/refs/symbolic.py
@@ -1,7 +1,7 @@
import os
import re
-from git.object import (
+from git.objects import (
Object,
Commit
)
diff --git a/git/refs/tag.py b/git/refs/tag.py
index 7a0caa48..3a1433be 100644
--- a/git/refs/tag.py
+++ b/git/refs/tag.py
@@ -1,8 +1,8 @@
-from git.ref.tag import TagReference as GitDB_TagReference
+from reference import Reference
__all__ = ["TagReference", "Tag"]
-class TagReference(GitDB_TagReference):
+class TagReference(Reference):
"""Class representing a lightweight tag reference which either points to a commit
,a tag object or any other object. In the latter case additional information,
like the signature or the tag-creator, is available.