Revision: 24596
Author: [email protected]
Date: Tue Oct 14 12:00:22 2014 UTC
Log: Fix remote branch location in releases script.
BUG=chromium:410721
LOG=n
TEST=script_test.py
[email protected]
Review URL: https://codereview.chromium.org/653923002
https://code.google.com/p/v8/source/detail?r=24596
Modified:
/branches/bleeding_edge/tools/push-to-trunk/common_includes.py
=======================================
--- /branches/bleeding_edge/tools/push-to-trunk/common_includes.py Mon Oct
13 12:34:53 2014 UTC
+++ /branches/bleeding_edge/tools/push-to-trunk/common_includes.py Tue Oct
14 12:00:22 2014 UTC
@@ -375,12 +375,12 @@
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.