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 312bc24ad5c0baf9004ebee6e0bdd0572d8c11f4..7ea39f73c95e80c86e10eb960241dc3e7683b76d 100644 |
--- a/tools/push-to-trunk/common_includes.py |
+++ b/tools/push-to-trunk/common_includes.py |
@@ -371,6 +371,8 @@ class GitReadOnlyMixin(VCInterface): |
return "origin/candidates" |
def RemoteBranch(self, name): |
+ if name in ["candidates", "master"]: |
+ return "origin/%s" % name |
return "origin/branch-heads/%s" % name |