Title: [142178] trunk/Tools
Revision
142178
Author
[email protected]
Date
2013-02-07 14:04:02 -0800 (Thu, 07 Feb 2013)

Log Message

git.svn_revision doesn't fetch the same revision as svn.svn_revision
https://bugs.webkit.org/show_bug.cgi?id=108684

Reviewed by Dirk Pranke.

Always call git log on the checkout root.

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

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (142177 => 142178)


--- trunk/Tools/ChangeLog	2013-02-07 21:58:03 UTC (rev 142177)
+++ trunk/Tools/ChangeLog	2013-02-07 22:04:02 UTC (rev 142178)
@@ -1,3 +1,15 @@
+2013-02-07  Ryosuke Niwa  <[email protected]>
+
+        git.svn_revision doesn't fetch the same revision as svn.svn_revision
+        https://bugs.webkit.org/show_bug.cgi?id=108684
+
+        Reviewed by Dirk Pranke.
+
+        Always call git log on the checkout root.
+
+        * Scripts/webkitpy/common/checkout/scm/git.py:
+        (Git.svn_revision):
+
 2013-02-07  Roger Fong  <[email protected]>
 
         Unreviewed. Patch for testing Win EWS bots.

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


--- trunk/Tools/Scripts/webkitpy/common/checkout/scm/git.py	2013-02-07 21:58:03 UTC (rev 142177)
+++ trunk/Tools/Scripts/webkitpy/common/checkout/scm/git.py	2013-02-07 22:04:02 UTC (rev 142178)
@@ -247,7 +247,7 @@
 
     def svn_revision(self, path):
         _log.debug('Running git.head_svn_revision... (Temporary logging message)')
-        git_log = self._run_git(['log', '-25', path])
+        git_log = self._run_git(['log', '-25', self.find_checkout_root(path)])
         match = re.search("^\s*git-svn-id:.*@(?P<svn_revision>\d+)\ ", 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