Backed out changeset 88ef4fbf5d6b, Bug 1184594 - git 'repo' is not deployed correctly on build machines managed by buildbot.
authorRail Aliiev <rail@mozilla.com>
Thu, 30 Jul 2015 08:29:52 -0400
changeset 287125 07ff7cf012bcd0562c6235a99b5fdb2bf6fa4d8d
parent 287124 88ef4fbf5d6b66dd5fd99115f1b83e97bcac23e8
child 287126 d61ae75fd242eb85312848cbc44267f59bfcd1d5
push id5067
push userraliiev@mozilla.com
push dateMon, 21 Sep 2015 14:04:52 +0000
treeherdermozilla-beta@14221ffe5b2f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1184594
milestone42.0a1
backs out88ef4fbf5d6b66dd5fd99115f1b83e97bcac23e8
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Backed out changeset 88ef4fbf5d6b, Bug 1184594 - git 'repo' is not deployed correctly on build machines managed by buildbot.
testing/mozharness/mozharness/mozilla/building/buildb2gbase.py
--- a/testing/mozharness/mozharness/mozilla/building/buildb2gbase.py
+++ b/testing/mozharness/mozharness/mozilla/building/buildb2gbase.py
@@ -342,21 +342,16 @@ class B2GBuildBaseScript(BuildbotMixin, 
 
         # self.vcs_checkout already retries, so no need to wrap it in
         # self.retry. We set the error_level to ERROR to prevent it going fatal
         # so we can do our own handling here.
         retval = self.vcs_checkout_repos(repos, error_level=ERROR)
         if not retval:
             self.rmtree(repo_dir)
             self.fatal("Automation Error: couldn't clone repo", exit_code=4)
-        # Repo self-updates if the checkout is on a detached head. Creating a
-        # branch works around the problem.
-        git = self.query_exe("git")
-        self.run_command([git, 'checkout', '-B', 'tmp_moz_branch', repo_rev],
-                         cwd=repo_dir, halt_on_failure=True)
         return retval
 
     def checkout_tools(self):
         dirs = self.query_abs_dirs()
 
         # We need hg.m.o/build/tools checked out
         self.info("Checking out tools")
         repos = [{