Actions
Feature #14
closedrepo: no git error message is unclear
Status:
Closed
Priority:
Low
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
invalid
Device:
Grant:
Type of work:
Description
Hi,
When you don't have git installed and try to issue the command ../bin/repo init -u git://gitorious.org/replicant/manifest.git -b replicant-2.2 it gives an unclear error. Please change the error to something like "git not installed".
Kind regards,
Best of luck,
Jeroen
$ ../bin/repo init -u git://gitorious.org/replicant/manifest.git -b replicant-2.2 Traceback (most recent call last): File "../bin/repo", line 595, in <module> main(sys.argv[1:]) File "../bin/repo", line 562, in main _Init(args) File "../bin/repo", line 181, in _Init _CheckGitVersion() File "../bin/repo", line 210, in _CheckGitVersion proc = subprocess.Popen(cmd, stdout=subprocess.PIPE) File "/usr/lib/python2.6/subprocess.py", line 623, in +init+ errread, errwrite) File "/usr/lib/python2.6/subprocess.py", line 1141, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory $
Actions