Revision: 24666
Author:   [email protected]
Date:     Thu Oct 16 13:45:59 2014 UTC
Log:      Fix new git workflow in release scripts.

Need to svn fetch in order to make svn find-rev work.

BUG=chromium:410721
LOG=n
TEST=script_test.py
[email protected]

Review URL: https://codereview.chromium.org/662643002
https://code.google.com/p/v8/source/detail?r=24666

Modified:
 /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/common_includes.py Tue Oct 14 12:19:32 2014 UTC +++ /branches/bleeding_edge/tools/push-to-trunk/common_includes.py Thu Oct 16 13:45:59 2014 UTC
@@ -370,6 +370,7 @@

   def Fetch(self):
     self.step.Git("fetch")
+    self.step.GitSVNFetch()

   def GetTags(self):
      return self.step.Git("tag").strip().splitlines()
=======================================
--- /branches/bleeding_edge/tools/push-to-trunk/test_scripts.py Thu Oct 16 13:21:13 2014 UTC +++ /branches/bleeding_edge/tools/push-to-trunk/test_scripts.py Thu Oct 16 13:45:59 2014 UTC
@@ -901,6 +901,7 @@
       Cmd("git status -s -uno", ""),
       Cmd("git status -s -b -uno", "## some_branch\n"),
       Cmd("git fetch", ""),
+      Cmd("git svn fetch", ""),
       Cmd("git branch", "  branch1\n* branch2\n"),
       Cmd("git branch", "  branch1\n* branch2\n"),
       Cmd("git checkout -b %s origin/master" % TEST_CONFIG["BRANCHNAME"],
@@ -922,6 +923,7 @@
Cmd("git log -1 --format=%B rev1", "Text\nLOG=YES\nBUG=v8:321\nText\n"),
       Cmd("git log -1 --format=%an rev1", "[email protected]\n"),
       Cmd("git fetch", "fetch result\n"),
+      Cmd("git svn fetch", ""),
       Cmd("git checkout -f origin/master", ""),
       Cmd("git diff origin/candidates push_hash", "patch content\n"),
       Cmd("git svn find-rev push_hash", "123455\n"),
@@ -1342,6 +1344,7 @@
       Cmd("git status -s -uno", ""),
       Cmd("git status -s -b -uno", "## some_branch\n"),
       Cmd("git fetch", ""),
+      Cmd("git svn fetch", ""),
       Cmd("git branch", "  branch1\n* branch2\n"),
       Cmd("git checkout -b %s origin/candidates" %
           TEST_CONFIG["BRANCHNAME"], ""),
@@ -1514,6 +1517,7 @@
       Cmd("git status -s -uno", ""),
       Cmd("git status -s -b -uno", "## some_branch\n"),
       Cmd("git fetch", ""),
+      Cmd("git svn fetch", ""),
       Cmd("git branch", "  branch1\n* branch2\n"),
       Cmd("git checkout -b %s" % TEST_CONFIG["BRANCHNAME"], ""),
       Cmd("git branch -r", "  branch-heads/3.21\n  branch-heads/3.3\n"),

--
--
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