bug fixes for git support

This commit is contained in:
Ken Conley 2010-02-18 21:59:09 +00:00
parent 8232881d36
commit 241a876540
1 changed files with 2 additions and 1 deletions

View File

@ -47,6 +47,7 @@ def checkout_repos(repos):
else:
cmd = ['git', 'clone', url, key]
elif url.startswith('bzr:'):
url = url[4:]
if fresh_install:
cmd = ['bzr', 'checkout', url, key]
else:
@ -56,7 +57,7 @@ def checkout_repos(repos):
if cmd:
print 'Checking out %s to %s...'%(url, key)
subprocess.call(cmd)
subprocess.call(cmd, shell=True)
else:
print >> sys.stderr, "Unable to checkout %s"%key