Disable version increment and tagging until after the git migration.
authormachenbach@chromium.org <machenbach@chromium.org>
Thu, 25 Sep 2014 13:36:08 +0000 (13:36 +0000)
committermachenbach@chromium.org <machenbach@chromium.org>
Thu, 25 Sep 2014 13:36:08 +0000 (13:36 +0000)
BUG=chromium:410721
LOG=n
TBR=tandrii@chromium.org

Review URL: https://codereview.chromium.org/609443002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24230 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

tools/push-to-trunk/auto_tag.py
tools/push-to-trunk/bump_up_version.py

index 4e9f718..7b82e83 100755 (executable)
@@ -13,6 +13,11 @@ class Preparation(Step):
   MESSAGE = "Preparation."
 
   def RunStep(self):
+    # TODO(machenbach): Remove after the git switch.
+    if self.Config("PERSISTFILE_BASENAME") == "/tmp/v8-auto-tag-tempfile":
+      print "This script is disabled until after the v8 git migration."
+      return True
+
     self.CommonPrepare()
     self.PrepareBranch()
     self.GitCheckout("master")
index fdb02bc..4a10b86 100755 (executable)
@@ -28,11 +28,17 @@ from common_includes import *
 VERSION_BRANCH = "auto-bump-up-version"
 
 
-#TODO(machenbach): Add vc interface that works on git mirror.
+# TODO(machenbach): Add vc interface that works on git mirror.
 class Preparation(Step):
   MESSAGE = "Preparation."
 
   def RunStep(self):
+    # TODO(machenbach): Remove after the git switch.
+    if(self.Config("PERSISTFILE_BASENAME") ==
+       "/tmp/v8-bump-up-version-tempfile"):
+      print "This script is disabled until after the v8 git migration."
+      return True
+
     # Check for a clean workdir.
     if not self.GitIsWorkdirClean():  # pragma: no cover
       # This is in case a developer runs this script on a dirty tree.