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

Unified Diff: presubmit_support.py

Issue 6479006: scm.SVN.GenerateDiff() expects an array. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 9 years, 10 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: presubmit_support.py
diff --git a/presubmit_support.py b/presubmit_support.py
index 6be415dce140a70e9e26cb334b91d9a6d4160a49..38d29902752bc176f7175cd3fbc27cd190f3156f 100755
--- a/presubmit_support.py
+++ b/presubmit_support.py
@@ -558,7 +558,8 @@ class SvnAffectedFile(AffectedFile):
return self._is_text_file
def GenerateScmDiff(self):
- return scm.SVN.GenerateDiff(self.AbsoluteLocalPath())
+ return scm.SVN.GenerateDiff([self.AbsoluteLocalPath()])
+
class GitAffectedFile(AffectedFile):
"""Representation of a file in a change out of a git checkout."""
« 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