Reviewers: ,

Message:
Committed patchset #1 (id:1) manually as 24596 (presubmit successful).

Description:
Fix remote branch location in releases script.

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

Committed: https://code.google.com/p/v8/source/detail?r=24596

Please review this at https://codereview.chromium.org/653923002/

Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files (+4, -4 lines):
  M tools/push-to-trunk/common_includes.py


Index: tools/push-to-trunk/common_includes.py
diff --git a/tools/push-to-trunk/common_includes.py b/tools/push-to-trunk/common_includes.py index ed3b1fa62535615e8b4bd3d6845e842b76b854b6..e2bfdd5988789959cc892959cef10449f798d488 100644
--- a/tools/push-to-trunk/common_includes.py
+++ b/tools/push-to-trunk/common_includes.py
@@ -375,12 +375,12 @@ class GitTagsOnlyMixin(VCInterface):
      return self.step.Git("tag").strip().splitlines()

   def GetBranches(self):
-    # Get relevant remote branches, e.g. "origin/branch-heads/3.25".
+    # Get relevant remote branches, e.g. "branch-heads/3.25".
     branches = filter(
-        lambda s: re.match(r"^origin/branch\-heads/\d+\.\d+$", s),
+        lambda s: re.match(r"^branch\-heads/\d+\.\d+$", s),
         self.step.GitRemotes())
-    # Remove 'origin/branch-heads/' prefix.
-    return map(lambda s: s[20:], branches)
+    # Remove 'branch-heads/' prefix.
+    return map(lambda s: s[13:], branches)

   def MasterBranch(self):
     return "master"


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