mirror of
https://chromium.googlesource.com/chromium/tools/depot_tools.git
synced 2026-01-11 10:41:31 +00:00
Omit "Skipping <branch>" message when unneeded
When calling `git rebase-update <branches>`, don't emit messages about skipping branches which are not in the list of branches to be rebased. R=iannucci@chromium.org Change-Id: Ia5135d2e794646aaec68bca1aa64f4a73c98c186 Reviewed-on: https://chromium-review.googlesource.com/c/1476394 Commit-Queue: Robbie Iannucci <iannucci@chromium.org> Reviewed-by: Robbie Iannucci <iannucci@chromium.org>
This commit is contained in:
committed by
Commit Bot
parent
c0546b9817
commit
3acdefa9aa
@@ -258,6 +258,8 @@ def main(args=None):
|
||||
git.freeze() # just in case there are any local changes.
|
||||
|
||||
skipped, branch_tree = git.get_branch_tree()
|
||||
if opts.branches:
|
||||
skipped = set(skipped).intersection(set(opts.branches))
|
||||
for branch in skipped:
|
||||
print 'Skipping %s: No upstream specified' % branch
|
||||
|
||||
|
||||
Reference in New Issue
Block a user