From 70b297a26332a13345e49aca4e24efea682d229b Mon Sep 17 00:00:00 2001 From: David James Date: Sat, 25 Sep 2010 23:25:18 -0700 Subject: [PATCH] Update cbuildbot.py to print manifests when we sync. If cbuildbot.py printed out a manifest when it syncs, it would make it possible for us to reproduce the build later by looking at what revisions the buildbot was using. This is useful for debugging. Change-Id: I186ad01eef0090b6c618cb7ad583085197474018 BUG=chromium-os:7069 TEST=Ran test suite with 3441027 patched in (Sosa's patch that fixes an unrelated issue with the unit tests) Review URL: http://codereview.chromium.org/3461028 --- bin/cbuildbot.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/cbuildbot.py b/bin/cbuildbot.py index 14e22d1042..a077c115f1 100755 --- a/bin/cbuildbot.py +++ b/bin/cbuildbot.py @@ -69,6 +69,9 @@ def RepoSync(buildroot, rw_checkout=False, retries=_DEFAULT_RETRIES): Warning('CBUILDBOT -- Retries exhausted') raise + # Output manifest + RunCommand(['repo', 'manifest', '-r', '-o', '-'], cwd=buildroot) + # =========================== Command Helpers ================================= def _GetAllGitRepos(buildroot, debug=False):