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

Unified Diff: rietveld.py

Issue 7054048: Increase coverage to 91%; Much stricter about header parsing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Address review comments Created 9 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 | « patch.py ('k') | tests/checkout_test.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: rietveld.py
diff --git a/rietveld.py b/rietveld.py
index b3895d639a2c2ade68270c713c1ce0ea68489eac..40be3c0eefcaf6d6516e72cc8e3304dd21e0fe6f 100644
--- a/rietveld.py
+++ b/rietveld.py
@@ -133,7 +133,8 @@ class Rietveld(object):
out.append(patch.FilePatchBinary(
filename,
self.get_file_content(issue, patchset, state['id']),
- props))
+ props,
+ is_new=(status[0] == 'A')))
else:
if state['num_chunks']:
diff = self.get_file_diff(issue, patchset, state['id'])
« no previous file with comments | « patch.py ('k') | tests/checkout_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698