|
OpenQuizz
Une application de gestion des contenus pédagogiques
|


Public Member Functions | |
| def | __init__ (self, flags, local_ref, remote_ref_string, remote, old_commit=None, summary='') |
| def | old_commit (self) |
| def | remote_ref (self) |
Data Fields | |
| flags | |
| local_ref | |
| remote_ref_string | |
| summary | |
Static Public Attributes | |
| FORCED_UPDATE | |
| FAST_FORWARD | |
| UP_TO_DATE | |
| ERROR | |
Carries information about the result of a push operation of a single head::
info = remote.push()[0]
info.flags # bitflags providing more information about the result
info.local_ref # Reference pointing to the local reference that was pushed
# It is None if the ref was deleted.
info.remote_ref_string # path to the remote reference located on the remote side
info.remote_ref # Remote Reference on the local side corresponding to
# the remote_ref_string. It can be a TagReference as well.
info.old_commit # commit at which the remote_ref was standing before we pushed
# it to local_ref.commit. Will be None if an error was indicated
info.summary # summary line providing human readable english text about the push | def __init__ | ( | self, | |
| flags, | |||
| local_ref, | |||
| remote_ref_string, | |||
| remote, | |||
old_commit = None, |
|||
summary = '' |
|||
| ) |
Initialize a new instance
| def old_commit | ( | self | ) |
| def remote_ref | ( | self | ) |
:return:
Remote Reference or TagReference in the local repository corresponding
to the remote_ref_string kept in this instance.
|
static |
|
static |
| flags |
|
static |
| local_ref |
| remote_ref_string |
| summary |
|
static |