Project

General

Profile

Actions

Feature #14

closed

repo: no git error message is unclear

Added by Anonymous over 13 years ago. Updated about 12 years ago.

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 #1

Updated by Denis 'GNUtoo' Carikli about 13 years ago

Thanks for the bug, but please report upstream(that is an upstream bug, we don't ship the repo tool but use the google one)

Denis.

Actions #2

Updated by Paul Kocialkowski about 12 years ago

  • Status changed from New to Closed
  • Resolution set to invalid

Indeed, we didn't write repo and can't make changes to it unless we fork it.

Actions

Also available in: Atom PDF