Add a little bit more context to a failure case for debugging reasons

Bug: 1110152
Change-Id: I4b525a62aa87ea98590741445b4273068edb7f6e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2332373
Reviewed-by: Edward Lesmes <ehmaldonado@chromium.org>
Commit-Queue: Anthony Polito <apolito@google.com>
changes/73/2332373/2
Anthony Polito 5 years ago committed by LUCI CQ
parent 9e633036da
commit 486f1812ef

@ -588,7 +588,8 @@ class GitWrapper(SCMWrapper):
subprocess2.capture(
['git', 'config', 'remote.%s.gclient-auto-fix-url' % self.remote],
cwd=self.checkout_path).strip() != 'False'):
self.Print('_____ switching %s to a new upstream' % self.relpath)
self.Print('_____ switching %s from %s to new upstream %s' % (
self.relpath, current_url, url))
if not (options.force or options.reset):
# Make sure it's clean
self._CheckClean(revision)

Loading…
Cancel
Save