| 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 e5f5c595829cd462449728201d2fed8d7b55b151..e28c3d7691eddb592b1bf2cddad1dc90c3c3deb5 100644
|
| --- a/tools/push-to-trunk/common_includes.py
|
| +++ b/tools/push-to-trunk/common_includes.py
|
| @@ -460,6 +460,11 @@ class Step(object):
|
| if self.Git(args) is None:
|
| self.WaitForResolvingConflicts(patch_file)
|
|
|
| + def FindLastTrunkPush(self):
|
| + push_pattern = "^Version [[:digit:]]*\.[[:digit:]]*\.[[:digit:]]* (based"
|
| + args = "log -1 --format=%%H --grep=\"%s\" svn/trunk" % push_pattern
|
| + return self.Git(args).strip()
|
| +
|
|
|
| class UploadStep(Step):
|
| MESSAGE = "Upload for code review."
|
|
|