Index: tools/push-to-trunk/auto_roll.py |
diff --git a/tools/push-to-trunk/auto_roll.py b/tools/push-to-trunk/auto_roll.py |
index 00f45e04099f36949f7b548631d42359a1e266c1..1b57097cde8d93048b4719e33b85f1eda49831f5 100755 |
--- a/tools/push-to-trunk/auto_roll.py |
+++ b/tools/push-to-trunk/auto_roll.py |
@@ -42,6 +42,7 @@ class DetectLastPush(Step): |
MESSAGE = "Detect commit ID of the last push to trunk." |
def RunStep(self): |
+ self.vc.Fetch() |
push_hash = self.FindLastTrunkPush( |
branch="origin/candidates", include_patches=True) |
self["last_push"] = self.GetCommitPositionNumber(push_hash) |