Lines Matching refs:good_revision
1275 def GetRevisionList(self, depot, bad_revision, good_revision):
1282 revision_range_start = good_revision
1308 good_revision, cwd=cwd)
2798 def NudgeRevisionsIfDEPSChange(self, bad_revision, good_revision
2805 good_revision: Last known good revision.
2812 'DEPS', good_revision, bad_revision)
2837 return (output, good_revision)
2841 return (bad_revision, good_revision)
2845 good_revision,
2847 """Checks that |good_revision| is an earlier revision than |bad_revision|.
2850 good_revision: Number/tag of the known good revision.
2857 cmd = ['log', '--format=%ct', '-1', good_revision]
2870 return int(good_revision) <= int(bad_revision)
2879 good_revision: Number/tag of the known good revision.
2931 good_revision = self.source_control.ResolveToRevision(good_revision_in,
2941 if good_revision is None:
2947 target_depot, good_revision, bad_revision):
2948 results['error'] = 'bad_revision < good_revision, did you swap these '\
2952 (bad_revision, good_revision) = self.NudgeRevisionsIfDEPSChange(
2953 bad_revision, good_revision)
2962 good_revision)
3002 (bad_results, good_results) = self.GatherReferenceValues(good_revision,
3174 'range: [%s..%s]' % (good_revision, bad_revision)
3696 self.good_revision = None
3742 group.add_option('-g', '--good_revision',
3880 if not opts.good_revision:
3881 raise RuntimeError('missing required parameter: --good_revision')
4007 opts.good_revision,