--- a/pipelines/vcs.py Wed Jul 27 22:18:59 2016 -0700
+++ b/pipelines/vcs.py Wed Jul 27 22:20:25 2016 -0700
@@ -22,12 +22,6 @@
- 'git': 'git rev-parse --abbrev-ref HEAD -C {}',
- 'hg': 'hg branch -R {}',
def run_command(cmd, path):
@@ -89,25 +83,3 @@
- env = os.environ.copy()
- env['HGRCPATH'] = '/dev/null'
- env['GIT_CONFIG_NOSYSTEM'] = '1'
- for _, cmd in _VCSS.iteritems():
- command = cmd.format(path)
- branch = subprocess.check_output(command.split(),
- stderr=open(os.devnull, 'w'),
- branch = branch.strip()
- except subprocess.CalledProcessError: