| 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 e95a20b06442c2f33b1c03219fd79ac543fa459f..dc430e3c67a7eaddd2b94083fbcad455f342c9f2 100644
|
| --- a/tools/push-to-trunk/common_includes.py
|
| +++ b/tools/push-to-trunk/common_includes.py
|
| @@ -606,7 +606,10 @@ class Step(GitRecipesMixin):
|
| self.DeleteBranch(self._config["BRANCHNAME"])
|
|
|
| def CommonCleanup(self):
|
| - self.GitCheckout(self["current_branch"])
|
| + if ' ' in self["current_branch"]:
|
| + self.GitCheckout('master')
|
| + else:
|
| + self.GitCheckout(self["current_branch"])
|
| if self._config["BRANCHNAME"] != self["current_branch"]:
|
| self.GitDeleteBranch(self._config["BRANCHNAME"])
|
|
|
|
|