Lines Matching refs:rev
48 def parse(rev: str) -> 'Rev':
58 if rev.startswith('r'):
60 rev_string = rev[1:]
62 match = re.match(r'\((.+), r(\d+)\)', rev)
64 raise ValueError("%r isn't a valid revision" % rev)
232 def translate_prebase_rev_to_sha(llvm_config: LLVMConfig, rev: Rev) -> str:
268 def translate_rev_to_sha(llvm_config: LLVMConfig, rev: Rev) -> str:
273 branch, number = rev
277 return translate_prebase_rev_to_sha(llvm_config, rev)
369 rev = translate_sha_to_rev(config, opts.sha)
370 print(rev)
372 sha = translate_rev_to_sha(config, Rev.parse(opts.rev))