def __init__(self, repository, module, subdir, checkoutdir=None, branch=None, tag=None, unmirrored_module=None): Branch.__init__(self, repository, module, checkoutdir) self.subdir = subdir self.branch = branch self.tag = tag self.unmirrored_module = unmirrored_module
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, module_href, checkoutdir, tag, revspec): Branch.__init__(self, repository, module_href, checkoutdir) self._revspec = None self.revspec = (tag, revspec)
def may_checkout(self, buildscript): return Branch.may_checkout(self, buildscript)
def checkout(self, buildscript): if not inpath('darcs', os.environ['PATH'].split(os.pathsep)): raise CommandError(_('%s not found') % 'darcs') Branch.checkout(self, buildscript) self._fix_permissions()
def checkout(self, buildscript): if not inpath("hg", os.environ["PATH"].split(os.pathsep)): raise CommandError(_("%s not found") % "hg") Branch.checkout(self, buildscript)
def __init__(self, repository, version): Branch.__init__(self, repository, module = None, checkoutdir = None) self.version = version
def __init__(self, repository, module, checkoutdir, revision, update_new_dirs, override_checkoutdir): Branch.__init__(self, repository, module, checkoutdir) self.revision = revision self.update_new_dirs = update_new_dirs self.override_checkoutdir = override_checkoutdir
def __init__(self, repository, name, checkoutdir, branch, module=None): Branch.__init__(self, repository, branch, checkoutdir) self.name = name self.branch = branch self.mtn_module = module
def __init__(self, repository, module, version, checkoutdir): Branch.__init__(self, repository, module, checkoutdir) self.version = version
def __init__(self, repository, module, module_name, checkoutdir, revision): Branch.__init__(self, repository, module, checkoutdir) self.module_name = module_name self.revision = revision
def checkout(self, buildscript): if not inpath('hg', os.environ['PATH'].split(os.pathsep)): raise CommandError(_('%s not found') % 'hg') Branch.checkout(self, buildscript)
def checkout(self, buildscript): if not inpath('git', os.environ['PATH'].split(os.pathsep)): raise CommandError(_('%s not found') % 'git') Branch.checkout(self, buildscript)