commit | cd2c5b1b1197665450d661fbd793454d11fa4980 | [log] [tgz] |
---|---|---|
author | Scott Graham <scottmg@google.com> | Thu Jul 09 00:32:22 2020 +0000 |
committer | CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> | Thu Jul 09 00:32:22 2020 +0000 |
tree | ee6c16005d6cbeeac062c01b0b0c55c2f23a692f | |
parent | bde055813363f0d7c593ce1798e4e4787ddb9446 [diff] |
[sync-from-stem] More helpful message if fuchsia rev not found In the window between where the Fuchsia rev lands, and it's rolled through GI, sync-from-stem will fail to find the appropriate integration revision (because there isn't one until it's in an integration manifest). Previously this would result in a stack dump like: sync-from-stem: updating in /work/fuchsia/integration sync-from-stem: integration now at af5412e642229c4782ae1832ba5389600eb2ab90 Traceback (most recent call last): File "/work/fuchsia/scripts/sync-from-stem.py", line 266, in <module> sys.exit(main()) File "/work/fuchsia/scripts/sync-from-stem.py", line 258, in main to_revision(env, fuchsia_rev, f_to_i[fuchsia_rev]) KeyError: '2b556a202ced24f7e4f797f1eddeae6036653c45' Instead print a somewhat more informative error: sync-from-stem: updating in /work/fuchsia/integration sync-from-stem: integration now at 0087f658280f5828edf4e06efa540b6f453c3686 sync-from-stem: fuchsia rev 2b556a202ced24f7e4f797f1eddeae6036653c45 not found in integration, not rolled yet? Change-Id: I1200da02b5aa0e60ceb6ac9a7720716ae70e227c Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/405453 Reviewed-by: David Greenaway <dgreenaway@google.com> Testability-Review: David Greenaway <dgreenaway@google.com> Commit-Queue: Scott Graham <scottmg@google.com>
Pink + Purple == Fuchsia (a new operating system)
Fuchsia is a modular, capability-based operating system. Fuchsia runs on modern 64-bit Intel and ARM processors.
Fuchsia is an open source project with a code of conduct that we expect everyone who interacts with the project to respect.
See Getting Started.
See fuchsia.dev.