Exemplo n.º 1
0
    def Execute(self, opt, args):
        rp = self.manifest.repoProject
        rp.PreSync()

        if opt.repo_upgraded:
            _PostRepoUpgrade(self.manifest)

        else:
            if not rp.Sync_NetworkHalf():
                print("error: can't update repo", file=sys.stderr)
                sys.exit(1)

            rp.bare_git.gc('--auto')
            _PostRepoFetch(rp, no_repo_verify=opt.no_repo_verify, verbose=True)
Exemplo n.º 2
0
  def Execute(self, opt, args):
    rp = self.manifest.repoProject
    rp.PreSync()

    if opt.repo_upgraded:
      _PostRepoUpgrade(self.manifest)

    else:
      if not rp.Sync_NetworkHalf():
        print >>sys.stderr, "error: can't update repo"
        sys.exit(1)

      _PostRepoFetch(rp,
                     no_repo_verify = opt.no_repo_verify,
                     verbose = True)
Exemplo n.º 3
0
    def Execute(self, opt, args):
        rp = self.manifest.repoProject
        rp.PreSync()

        if opt.repo_upgraded:
            _PostRepoUpgrade(self.manifest)

        else:
            if not rp.Sync_NetworkHalf():
                print("error: can't update andromeda", file=sys.stderr)
                sys.exit(1)

            rp.bare_git.gc('--auto')
            _PostRepoFetch(rp,
                           no_repo_verify=opt.no_repo_verify,
                           verbose=True)