Commit 98e82e1d authored by hinoka@google.com's avatar hinoka@google.com

--ignore_deps for apply_issue

Bot_update takes care of running gclient sync after apply_issue, so this is
unnecessary.

BUG=

Review URL: https://codereview.chromium.org/242433002

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@265031 0039d316-1c4b-4281-b951-d872f2087c98
parent f1d73ebb
......@@ -87,6 +87,8 @@ def main():
'is detected.')
parser.add_option('-b', '--base_ref', help='Base git ref to patch on top of, '
'used for verification.')
parser.add_option('-d', '--ignore_deps', action='store_true',
help='Don\'t run gclient sync on DEPS changes.')
options, args = parser.parse_args()
if options.password and options.private_key_file:
......@@ -218,7 +220,8 @@ def main():
print('Checkout path=%s' % scm_obj.project_path)
return 1
if 'DEPS' in map(os.path.basename, patchset.filenames):
if ('DEPS' in map(os.path.basename, patchset.filenames)
and not options.ignore_deps):
gclient_root = gclient_utils.FindGclientRoot(full_dir)
if gclient_root and scm_type:
print(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment