Revision: 22580
Author:   [email protected]
Date:     Thu Jul 24 07:36:25 2014 UTC
Log:      Fix automatic tagging.

BUG=
[email protected]

Review URL: https://codereview.chromium.org/417973002
http://code.google.com/p/v8/source/detail?r=22580

Modified:
 /branches/bleeding_edge/tools/push-to-trunk/auto_tag.py
 /branches/bleeding_edge/tools/push-to-trunk/common_includes.py
 /branches/bleeding_edge/tools/push-to-trunk/test_scripts.py

=======================================
--- /branches/bleeding_edge/tools/push-to-trunk/auto_tag.py Fri Jul 18 12:16:14 2014 UTC +++ /branches/bleeding_edge/tools/push-to-trunk/auto_tag.py Thu Jul 24 07:36:25 2014 UTC
@@ -117,7 +117,7 @@
       # LKGRs are reverse sorted.
       if int(min_rev) <= int(lkgr) and int(lkgr) < int(max_rev):
         return lkgr
-      return None
+    return None

   def RunStep(self):
# Get the lkgr after the tag candidate and before the next tag candidate.
=======================================
--- /branches/bleeding_edge/tools/push-to-trunk/common_includes.py Fri Jul 18 12:16:14 2014 UTC +++ /branches/bleeding_edge/tools/push-to-trunk/common_includes.py Thu Jul 24 07:36:25 2014 UTC
@@ -245,7 +245,7 @@
     return datetime.date.today().strftime("%Y-%m-%d")

   def GetUTCStamp(self):
-    time.mktime(datetime.datetime.utcnow().timetuple())
+    return time.mktime(datetime.datetime.utcnow().timetuple())

 DEFAULT_SIDE_EFFECT_HANDLER = SideEffectHandler()

=======================================
--- /branches/bleeding_edge/tools/push-to-trunk/test_scripts.py Wed Jul 23 09:25:36 2014 UTC +++ /branches/bleeding_edge/tools/push-to-trunk/test_scripts.py Thu Jul 24 07:36:25 2014 UTC
@@ -1373,7 +1373,8 @@

     self.ExpectReadURL([
       URL("https://v8-status.appspot.com/revisions?format=json";,
-          "[{\"revision\": \"123\", \"status\": true},"
+          "[{\"revision\": \"126\", \"status\": true},"
+           "{\"revision\": \"123\", \"status\": true},"
            "{\"revision\": \"112\", \"status\": true}]"),
     ])

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to