Lines Matching refs:subprocess
24 import subprocess
45 branch = subprocess.check_output(['git', 'rev-parse', '--abbrev-ref', 'HEAD'])
49 stash_output = subprocess.check_output(['git', 'stash']).strip()
55 subprocess.check_call(['git', 'stash', 'pop'])
59 subprocess.check_call(['git', 'pull'])
60 subprocess.check_call(['gclient', 'sync']);
65 subprocess.check_call(['git', 'checkout', '-b', 'legacyflag_%d' % random])
93 subprocess.check_call('git commit -a -m "%s"' % message, shell=True)
94 subprocess.check_call('git cl upload -m "%s" -f' % message,
97 subprocess.check_call(['git', 'checkout', 'master'])
98 subprocess.check_call(['git', 'branch', '-D', 'legacyflag_%d' % random])