New issue
Advanced search Search tips
Starred by 1 user

Issue metadata

Status: Submitted
Owner: ----
Closed: Dec 20

Sign in to add a comment

Issue 10200: Repo gitc-init aborts with repo-1.13.0

Reported by, Dec 20

Issue description

Affected Version: 1.13.0

What steps will reproduce the problem?
1. repo gitc-init -h

What is the expected output?
Help message with options for gitc-init subcommand.

What do you see instead?
Traceback (most recent call last):
  File "./repo", line 917, in <module>
  File "./repo", line 879, in main
    _Init(args, gitc_init=(cmd == 'gitc-init'))
  File "./repo", line 307, in _Init
  File "./repo", line 254, in _GitcInitOptions
    help='The name of the gitc_client instance to create or modify.')
  File "/usr/lib/python2.7/", line 1021, in add_option
  File "/usr/lib/python2.7/", line 996, in _check_conflict
optparse.OptionConflictError: option -c/--gitc-client: conflicting option string(s): -c

Please provide any additional information below.
This same error is seen for any invocation of the repo gitc-init subcommand.

Comment 1 by, Dec 20

Components: repo

Comment 2 by, Dec 20

Status: ChangeUnderReview (was: New)

Comment 3 by, Dec 20

Project Member
Status: Submitted (was: ChangeUnderReview)

Comment 4 by, Jan 10

The following revision refers to this bug:

commit 12ee5446e9eb8b9d0ae5425fb1e00bf05f93facd
Author: Ereth McKnight-MacNeil <>
Date: Thu Dec 20 19:55:02 2018

init: Remove -c short option for --current-branch

This option conflicts with the gitc-init -c short option.

Change-Id: I06f37564429ca0bd4c0bbea6066daae4f663c838


Sign in to add a comment