Title: [143918] trunk/Tools
Revision
143918
Author
[email protected]
Date
2013-02-25 06:14:40 -0800 (Mon, 25 Feb 2013)

Log Message

Unreviewed, fix simple mistake in r143903.
<http://webkit.org/b/110746>

Reviewed by Andreas Kling.

Pass git revision, not svn revision, to git shell command.

* Scripts/webkitpy/common/checkout/scm/git.py:
(Git.timestamp_of_latest_commit):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (143917 => 143918)


--- trunk/Tools/ChangeLog	2013-02-25 14:06:37 UTC (rev 143917)
+++ trunk/Tools/ChangeLog	2013-02-25 14:14:40 UTC (rev 143918)
@@ -1,3 +1,15 @@
+2013-02-25  Andreas Kling  <[email protected]>
+
+        Unreviewed, fix simple mistake in r143903.
+        <http://webkit.org/b/110746>
+
+        Reviewed by Andreas Kling.
+
+        Pass git revision, not svn revision, to git shell command.
+
+        * Scripts/webkitpy/common/checkout/scm/git.py:
+        (Git.timestamp_of_latest_commit):
+
 2013-02-25  Nico Weber  <[email protected]>
 
         [chromium] Let built-product-archive log which directory it's archiving from and extracting to

Modified: trunk/Tools/Scripts/webkitpy/common/checkout/scm/git.py (143917 => 143918)


--- trunk/Tools/Scripts/webkitpy/common/checkout/scm/git.py	2013-02-25 14:06:37 UTC (rev 143917)
+++ trunk/Tools/Scripts/webkitpy/common/checkout/scm/git.py	2013-02-25 14:14:40 UTC (rev 143918)
@@ -255,7 +255,8 @@
         return str(match.group('svn_revision'))
 
     def timestamp_of_latest_commit(self, path, revision):
-        git_log = self._run_git(['log', '-1', '-r', revision, '--date=iso', self.find_checkout_root(path)])
+        git_commit = self.git_commit_from_svn_revision(revision)
+        git_log = self._run_git(['log', '-1', '-r', git_commit, '--date=iso', self.find_checkout_root(path)])
         match = re.search("^Date:\s*(\d{4})-(\d{2})-(\d{2}) (\d{2}):(\d{2}):(\d{2}) ([+-])(\d{2})(\d{2})$", git_log, re.MULTILINE)
         if not match:
             return ""
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to