示例#1
0
文件: git.py 项目: placidrage/jhbuild
 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
示例#2
0
文件: git.py 项目: MarFerMS/jhbuild
 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
示例#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
示例#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
示例#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)
示例#6
0
 def may_checkout(self, buildscript):
     return Branch.may_checkout(self, buildscript)
示例#7
0
文件: git.py 项目: MarFerMS/jhbuild
 def may_checkout(self, buildscript):
     return Branch.may_checkout(self, buildscript)
示例#8
0
文件: darcs.py 项目: ylatuya/jhbuild
 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()
示例#9
0
文件: hg.py 项目: 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)
示例#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()
示例#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)
示例#12
0
 def __init__(self, repository, version):
     Branch.__init__(self, repository, module = None, checkoutdir = None)
     self.version = version
示例#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
示例#14
0
文件: mtn.py 项目: MarFerMS/jhbuild
 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
示例#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
示例#16
0
 def __init__(self, repository, module, version, checkoutdir):
     Branch.__init__(self, repository, module, checkoutdir)
     self.version = version
示例#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
示例#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)
示例#19
0
文件: git.py 项目: MarFerMS/jhbuild
 def checkout(self, buildscript):
     if not inpath('git', os.environ['PATH'].split(os.pathsep)):
         raise CommandError(_('%s not found') % 'git')
     Branch.checkout(self, buildscript)
示例#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
示例#21
0
 def __init__(self, repository, module, version, checkoutdir):
     Branch.__init__(self, repository, module, checkoutdir)
     self.version = version