Created
October 23, 2018 15:15
bisect
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import subprocess | |
import hglib | |
def main(): | |
print "ok" | |
client = hglib.open("C:\\mozilla-source\\autoland") | |
commits = client.log("8f7bb583fbb5:73c033dd56a2") | |
commits.reverse() | |
for commit in commits: | |
print "%s %s %s" %(commit.node, commit.author, commit.desc.split('\n')[0]) | |
for commit in commits: | |
client.update(rev=commit.node, check=True) | |
current_commit = client.identify() | |
print "Running for commit %s" %current_commit | |
arg = ["python", "C:\\mozilla-source\\autoland\\mach.py", "try", "-b", "o", "-p","linux","-u","none","-t","g2-e10s"] | |
subprocess.check_output(arg).splitlines() | |
if __name__ == "__main__": | |
main() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment