Example #1
0
    def startVC(self, branch, revision, patch):
        branch = self.getProperty('branch')
        if branch != 'PATCH_TRY' and branch != 'HG_TRY':
            self.repourl = self.baseURL + '/' + branch
        else:
            self.repourl = self.getProperty('mozillaRepoPath')

        Mercurial.startVC(self, None, revision, patch)
Example #2
0
 def __init__(self, baseURL="http://hg.mozilla.org/",
              defaultBranch='mozilla-central', **kwargs):
     timeout = 3600
     if 'timeout' in kwargs:
         timeout = kwargs['timeout']
     # repourl overridden in startVC
     Mercurial.__init__(self, baseURL=baseURL, defaultBranch=defaultBranch,
                        timeout=timeout, **kwargs)
    def startVC(self, branch, revision, patch):
        branch = self.getProperty('branch')
        if branch != 'PATCH_TRY' and branch != 'HG_TRY':
            self.repourl = self.baseURL + '/' + branch
        else:
            self.repourl = self.getProperty('mozillaRepoPath')

        Mercurial.startVC(self, None, revision, patch)
Example #4
0
 def __init__(self, locale, localesBranch, baseURL=None, **kwargs):
     if baseURL is not None:
         raise ValueError("baseURL must not be used with MercurialLocale")
     Mercurial.__init__(self, **kwargs)
     self.addFactoryArguments(locale=locale,
                              localesBranch=localesBranch,
                              baseURL=baseURL)
     self.locale = locale
     self.localesBranch = localesBranch
Example #5
0
 def __init__(self, locale, localesBranch, baseURL=None, **kwargs):
     if baseURL is not None:
         raise ValueError("baseURL must not be used with MercurialLocale")
     Mercurial.__init__(self, **kwargs)
     self.addFactoryArguments(locale=locale,
                              localesBranch=localesBranch,
                              baseURL=baseURL)
     self.locale = locale
     self.localesBranch = localesBranch
 def __init__(self,
              baseURL="http://hg.mozilla.org/",
              defaultBranch='mozilla-central',
              **kwargs):
     timeout = 3600
     if 'timeout' in kwargs:
         timeout = kwargs['timeout']
     # repourl overridden in startVC
     Mercurial.__init__(self,
                        baseURL=baseURL,
                        defaultBranch=defaultBranch,
                        timeout=timeout,
                        **kwargs)
Example #7
0
 def startVC(self, branch, revision, patch):
     # if we're running a main tree and locales in the same tree,
     # we get a "branch" parameter here which doesn't have the locale
     # information which is encoded in repoURL. Strip it.
     Mercurial.startVC(self, None, revision, patch)
Example #8
0
 def startVC(self, branch, revision, patch):
     # strip out the "branch" which is fake... we always use a repourl
     Mercurial.startVC(self, None, revision, patch)
Example #9
0
 def __init__(self, mainBranch, **kwargs):
     Mercurial.__init__(self, **kwargs)
     self.addFactoryArguments(mainBranch=mainBranch)
     self.mainBranch = mainBranch
Example #10
0
 def commandComplete(self, cmd):
     self.step_status.locale = self.locale
     Mercurial.commandComplete(self, cmd)
Example #11
0
 def startVC(self, branch, revision, patch):
     # if we're running a main tree and locales in the same tree,
     # we get a "branch" parameter here which doesn't have the locale
     # information which is encoded in repoURL. Strip it.
     Mercurial.startVC(self, None, revision, patch)
Example #12
0
 def startVC(self, branch, revision, patch):
     # strip out the "branch" which is fake... we always use a repourl
     Mercurial.startVC(self, None, revision, patch)
Example #13
0
 def __init__(self, mainBranch, **kwargs):
     Mercurial.__init__(self, **kwargs)
     self.addFactoryArguments(mainBranch=mainBranch)
     self.mainBranch = mainBranch
Example #14
0
 def commandComplete(self, cmd):
     self.step_status.locale = self.locale
     Mercurial.commandComplete(self, cmd)