Ejemplo n.º 1
0
 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
Ejemplo n.º 2
0
 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
Ejemplo n.º 3
0
 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
Ejemplo n.º 4
0
 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
Ejemplo n.º 5
0
 def __init__(self, repository, module_href, checkoutdir, tag, revspec):
     Branch.__init__(self, repository, module_href, checkoutdir)
     self._revspec = None
     self.revspec = (tag, revspec)
Ejemplo n.º 6
0
 def may_checkout(self, buildscript):
     return Branch.may_checkout(self, buildscript)
Ejemplo n.º 7
0
 def may_checkout(self, buildscript):
     return Branch.may_checkout(self, buildscript)
Ejemplo n.º 8
0
 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()
Ejemplo n.º 9
0
Archivo: hg.py Proyecto: aissat/jhbuild
 def checkout(self, buildscript):
     if not inpath("hg", os.environ["PATH"].split(os.pathsep)):
         raise CommandError(_("%s not found") % "hg")
     Branch.checkout(self, buildscript)
Ejemplo n.º 10
0
 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()
Ejemplo n.º 11
0
 def __init__(self, repository, module_href, checkoutdir, tag, revspec):
     Branch.__init__(self, repository, module_href, checkoutdir)
     self._revspec = None
     self.revspec = (tag, revspec)
Ejemplo n.º 12
0
 def __init__(self, repository, version):
     Branch.__init__(self, repository, module = None, checkoutdir = None)
     self.version = version
Ejemplo n.º 13
0
 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
Ejemplo n.º 14
0
 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
Ejemplo n.º 15
0
 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
Ejemplo n.º 16
0
 def __init__(self, repository, module, version, checkoutdir):
     Branch.__init__(self, repository, module, checkoutdir)
     self.version = version
Ejemplo n.º 17
0
 def __init__(self, repository, module, module_name, checkoutdir, revision):
     Branch.__init__(self, repository, module, checkoutdir)
     self.module_name = module_name
     self.revision = revision
Ejemplo n.º 18
0
 def checkout(self, buildscript):
     if not inpath('hg', os.environ['PATH'].split(os.pathsep)):
         raise CommandError(_('%s not found') % 'hg')
     Branch.checkout(self, buildscript)
Ejemplo n.º 19
0
 def checkout(self, buildscript):
     if not inpath('git', os.environ['PATH'].split(os.pathsep)):
         raise CommandError(_('%s not found') % 'git')
     Branch.checkout(self, buildscript)
Ejemplo n.º 20
0
 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
Ejemplo n.º 21
0
 def __init__(self, repository, module, version, checkoutdir):
     Branch.__init__(self, repository, module, checkoutdir)
     self.version = version