Esempio n. 1
0
 def __init__(self, config, name, href, trunk_path='trunk', branches_path='branches'):
     Repository.__init__(self, config, name)
     # allow user to adjust location of branch.
     self.href = config.repos.get(name, href)
     self.trunk_path = trunk_path
     self.branches_path = branches_path
     self.svn_program = config.svn_program
Esempio n. 2
0
 def __init__(self, config, name, href, trunk_template=None, branches_template=None, tags_template=None):
     Repository.__init__(self, config, name)
     # allow user to adjust location of branch.
     self.href = config.repos.get(name, href)
     self.trunk_template = trunk_template or "%(module)s/trunk"
     self.branches_template = branches_template or "%(module)s/branches/%(branch)s"
     self.tags_template = tags_template or "%(module)s/tags/%(tag)s"
     self.svn_program = config.svn_program
Esempio n. 3
0
    def __init__(self, config, name, server, database, defbranch):
        Repository.__init__(self, config, name)

        self.server = config.repos.get(name, server)

        self.database = os.path.join(self.config.checkoutroot,
                                     config.repos.get(name, database))

        self.defbranch = config.repos.get(name, defbranch)
Esempio n. 4
0
 def __init__(self, config, name, cvsroot, password=None):
     Repository.__init__(self, config, name)
     # has the repository path been overridden?
     if self.name in config.repos:
         self.cvsroot = config.repos[name]
     else:
         self.cvsroot = cvsroot
         login(cvsroot, password)
     self.cvs_program = config.cvs_program
Esempio n. 5
0
 def __init__(self, config, name, cvsroot, password=None):
     Repository.__init__(self, config, name)
     # has the repository path been overridden?
     if self.name in config.repos:
         self.cvsroot = config.repos[name]
     else:
         self.cvsroot = cvsroot
         login(cvsroot, password)
     self.cvs_program = config.cvs_program
Esempio n. 6
0
    def __init__(self, config, name, server, database, defbranch):
        Repository.__init__(self, config, name)

        self.server = config.repos.get(name, server)

        self.database = os.path.join(self.config.checkoutroot,
                                     config.repos.get(name, database))

        self.defbranch = config.repos.get(name, defbranch)
Esempio n. 7
0
 def __init__(self,
              config,
              name,
              href,
              trunk_template='%(module)s',
              branches_template='%(module)s/%(branch)s'):
     Repository.__init__(self, config, name)
     # allow user to adjust location of branch.
     self.href = config.repos.get(name, href)
     self.trunk_template = trunk_template
     self.branches_template = branches_template
Esempio n. 8
0
File: hg.py Progetto: aissat/jhbuild
 def __init__(self, config, name, href):
     Repository.__init__(self, config, name)
     # allow user to adjust location of branch.
     self.href = config.repos.get(name, href)
Esempio n. 9
0
 def __init__(self, config, name, href):
     Repository.__init__(self, config, name)
     # allow user to adjust location of branch.
     self.href = config.repos.get(name, href)
Esempio n. 10
0
 def __init__(self, config, name, href, trunk_template='%(module)s', branches_template='%(module)s/%(branch)s'):
     Repository.__init__(self, config, name)
     # allow user to adjust location of branch.
     self.href = config.repos.get(name, href)
     self.trunk_template = trunk_template
     self.branches_template = branches_template
Esempio n. 11
0
 def __init__(self, config, name, archive, href=None):
     Repository.__init__(self, config, name)
     self.archive = archive
     self.href = href
Esempio n. 12
0
 def __init__(self, config, name):
     Repository.__init__(self, config, name)