def __init__( self, repository, module, version, checkoutdir, source_size, source_hash, branch_id, source_subdir=None ): Branch.__init__(self, repository, module, checkoutdir) self.version = version self.source_size = source_size self.source_hash = source_hash self.patches = [] self.quilt = None self.branch_id = branch_id self.source_subdir = source_subdir
def __init__(self, repository, version): Branch.__init__(self, repository, module = None, checkoutdir = None) self.version = version