OpenQuizz
Une application de gestion des contenus pédagogiques
|
Public Member Functions | |
def | __init__ (self, vc_class, rev=None, extra_args=None) |
def | __repr__ (self) |
def | arg_rev (self) |
def | to_args (self) |
def | to_display (self) |
def | make_new (self, rev) |
Data Fields | |
extra_args | |
rev | |
vc_class | |
branch_name | |
Encapsulates a VCS-specific revision to install, along with any VCS install options. Instances of this class should be treated as if immutable.
def __init__ | ( | self, | |
vc_class, | |||
rev = None , |
|||
extra_args = None |
|||
) |
Args: vc_class: a VersionControl subclass. rev: the name of the revision to install. extra_args: a list of extra options.
def __repr__ | ( | self | ) |
def arg_rev | ( | self | ) |
def make_new | ( | self, | |
rev | |||
) |
Make a copy of the current instance, but with a new rev. Args: rev: the name of the revision for the new object.
def to_args | ( | self | ) |
Return the VCS-specific command arguments.
def to_display | ( | self | ) |
branch_name |
extra_args |
rev |
vc_class |