From e77d2d0ebb9487b696835f219e4a23a558462a55 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Thu, 7 Apr 2011 12:14:04 +0200 Subject: Removed all parts of the reference implementation which doesn't require the git command. everything else was moved to GitDB. None of the tests is yet expected to run, although git-python should have less trouble getting the tests back up running than GitDB. plenty of code needs to be de-duplicated though in case of the tests, which will be some work --- git/remote.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'git/remote.py') diff --git a/git/remote.py b/git/remote.py index ae61dc72..6f295869 100644 --- a/git/remote.py +++ b/git/remote.py @@ -23,6 +23,18 @@ import os __all__ = ('RemoteProgress', 'Remote') +class PushInfo(object): + """Wrapper for basic PushInfo to provide the previous interface which includes + resolved objects instead of plain shas + + old_commit # object for the corresponding old_commit_sha""" + + + +class FetchInfo(object): + """Wrapper to restore the previous interface, resolving objects and wrapping + references""" + class Remote(LazyMixin, Iterable): """Provides easy read and write access to a git remote. -- cgit v1.2.3