错误如下:
原因是没有装git
Traceback (most recent call last):
File "./repo", line 590, in <module>
main(sys.argv[1:])
File "./repo", line 557, in main
_Init(args)
File "./repo", line 176, in _Init
_CheckGitVersion()
File "./repo", line 205, in _CheckGitVersion
proc = subprocess.Popen(cmd, stdout=subprocess.PIPE)
File "/usr/lib/python2.5/subprocess.py", line 594, in __init__
errread, errwrite)
File "/usr/lib/python2.5/subprocess.py", line 1147, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
原因是没有装git
sudo apt-get install git
sudo apt-get install git-core