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

Unified Diff: checkout.py

Issue 264823003: Add black/whitelisting to apply_issue (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Updated assert message Created 6 years, 7 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 | « apply_issue.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: checkout.py
diff --git a/checkout.py b/checkout.py
index 022076c402218ea329ea0832969aa4eba955eef0..06b2d3b0f13e2784643d021cf977be5e568b3641 100644
--- a/checkout.py
+++ b/checkout.py
@@ -726,7 +726,9 @@ class GitCheckout(CheckoutBase):
['diff', base_ref, '--ignore-submodules',
'--name-only']).splitlines(False)
assert sorted(patches.filenames) == sorted(found_files), (
- sorted(patches.filenames), sorted(found_files))
+ 'Found extra %s locally, %s not patched' % (
+ sorted(set(found_files) - set(patches.filenames)),
+ sorted(set(patches.filenames) - set(found_files))))
def commit(self, commit_message, user):
"""Commits, updates the commit message and pushes."""
« no previous file with comments | « apply_issue.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698