Lines Matching refs:subprocess
23 import subprocess
44 branch = subprocess.check_output(['git', 'rev-parse', '--abbrev-ref', 'HEAD'])
48 stash_output = subprocess.check_output(['git', 'stash']).strip()
54 subprocess.check_call(['git', 'stash', 'pop'])
58 subprocess.check_call(['git', 'pull'])
59 subprocess.check_call(['gclient', 'sync']);
64 subprocess.check_call(['git', 'checkout', '-b', 'legacyflag_%d' % random])
92 subprocess.check_call('git commit -a -m "%s"' % message, shell=True)
93 subprocess.check_call('git cl upload -m "%s" -f' % message,
96 subprocess.check_call(['git', 'checkout', 'master'])
97 subprocess.check_call(['git', 'branch', '-D', 'legacyflag_%d' % random])