|
|
Created:
5 years, 4 months ago by tandrii(chromium) Modified:
5 years, 4 months ago CC:
chromium-reviews, dpranke+depot_tools_chromium.org, iannucci+depot_tools_chromium.org Target Ref:
refs/heads/master Project:
depot_tools Visibility:
Public. |
DescriptionMake gclient revert work with DEPS when DEPS url changes.
BUG=520067
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=296278
Patch Set 1 #
Total comments: 2
Patch Set 2 : exception class #Patch Set 3 : and svn #
Total comments: 4
Patch Set 4 : more logging #Messages
Total messages: 18 (8 generated)
The CQ bit was checked by tandrii@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1283083003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1283083003/1
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
nodir@chromium.org changed reviewers: + nodir@chromium.org
https://codereview.chromium.org/1283083003/diff/1/gclient_scm.py File gclient_scm.py (right): https://codereview.chromium.org/1283083003/diff/1/gclient_scm.py#newcode725 gclient_scm.py:725: if 'safesync_url response "%s"' % deps_revision in e.message: Define a new exception class and raise it in lines 759 and 809 https://code.google.com/p/chromium/codesearch#chromium/tools/depot_tools/gcli...
https://codereview.chromium.org/1283083003/diff/1/gclient_scm.py File gclient_scm.py (right): https://codereview.chromium.org/1283083003/diff/1/gclient_scm.py#newcode725 gclient_scm.py:725: if 'safesync_url response "%s"' % deps_revision in e.message: On 2015/08/12 17:04:26, nodir wrote: > Define a new exception class and raise it in lines 759 and 809 > https://code.google.com/p/chromium/codesearch#chromium/tools/depot_tools/gcli... Good idea, I was just lazy. Done.
lgtm https://codereview.chromium.org/1283083003/diff/40001/gclient_scm.py File gclient_scm.py (right): https://codereview.chromium.org/1283083003/diff/40001/gclient_scm.py#newcode801 gclient_scm.py:801: raise NoUsableRevError( Note that this was not catched before: it does not have "safesync_url response" substring https://codereview.chromium.org/1283083003/diff/40001/gclient_scm.py#newcode1603 gclient_scm.py:1603: ( '%s isn\'t a valid revision. Please check that your safesync_url is\n' this too
maruel@chromium.org changed reviewers: + maruel@chromium.org
lgtm
https://codereview.chromium.org/1283083003/diff/40001/gclient_scm.py File gclient_scm.py (right): https://codereview.chromium.org/1283083003/diff/40001/gclient_scm.py#newcode801 gclient_scm.py:801: raise NoUsableRevError( On 2015/08/12 17:20:08, nodir wrote: > Note that this was not catched before: it does not have "safesync_url response" > substring I am not sure about this case, but I thought PS2 is better than creating yet another exception class just or this case. https://codereview.chromium.org/1283083003/diff/40001/gclient_scm.py#newcode1603 gclient_scm.py:1603: ( '%s isn\'t a valid revision. Please check that your safesync_url is\n' On 2015/08/12 17:20:09, nodir wrote: > this too this is inside SVN scm block, so this was doesn't change things.
The CQ bit was checked by tandrii@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1283083003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1283083003/40001
The CQ bit was unchecked by tandrii@chromium.org
The CQ bit was checked by tandrii@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from nodir@chromium.org, maruel@chromium.org Link to the patchset: https://codereview.chromium.org/1283083003/#ps60001 (title: "more logging")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1283083003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1283083003/60001
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as http://src.chromium.org/viewvc/chrome?view=rev&revision=296278 |