Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3132)

Unified Diff: apply_issue.py

Issue 242433002: --ignore_deps for apply_issue (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: apply_issue.py
diff --git a/apply_issue.py b/apply_issue.py
index 30ebf79a4b5d93eb006971a48f728a5d3cd40596..75ea60918d88e4a04de0bab9b75ebdf3504b9c0b 100755
--- a/apply_issue.py
+++ b/apply_issue.py
@@ -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(
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698