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

Unified Diff: testing_support/patches_data.py

Issue 10962038: Fix applying git diff with new file mode 644 on a svn checkout. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 8 years, 3 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/patch_test.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: testing_support/patches_data.py
diff --git a/testing_support/patches_data.py b/testing_support/patches_data.py
index 3134a98a26ca5d3a13167719ca5cb2bef1aeaafd..1acd83265f2aaf64a82570ce7e8593685cbe667b 100644
--- a/testing_support/patches_data.py
+++ b/testing_support/patches_data.py
@@ -292,6 +292,16 @@ class GIT(object):
'old mode 100644\n'
'new mode 100755\n')
+ NEW_NOT_EXECUTABLE = (
+ 'diff --git a/build/android/ant/create.js b/build/android/ant/create.js\n'
+ 'new file mode 100644\n'
+ 'index 0000000000000000000..542a89e978feada38dd\n'
+ '--- /dev/null\n'
+ '+++ b/build/android/ant/create.js\n'
+ '@@ -0,0 +1,1 @@\n'
+ '+// Copyright (c) 2012 The Chromium Authors. All rights reserved.\n'
+ )
+
FOUR_HUNKS = (
'Index: presubmit_support.py\n'
'diff --git a/presubmit_support.py b/presubmit_support.py\n'
« no previous file with comments | « patch.py ('k') | tests/patch_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698