bootstrap: unbreak branch update master
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Thu, 26 Feb 2015 09:06:27 +0000 (11:06 +0200)
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Thu, 26 Feb 2015 09:06:27 +0000 (11:06 +0200)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
bootstrap.py

index 2f3ded5602f2446d77469fae7902856570725941..2b553ef233841eea705b026b9915ead31aca49f8 100755 (executable)
@@ -232,6 +232,7 @@ def main(argv=None):
         if args.update_branches != 'no':
             force = True if args.update_branches == 'force' else False
             update_from_remote('origin', force=force)
+            git_cmd('checkout', [orig_rev])
         test_manifest = TestDataRepoManifest()
         for pkg, pkgconf in TEST_PKGS.iteritems():
             if 'export_branches' in pkgconf: