Closed Bug 1188931 Opened 4 years ago Closed 4 years ago

./mach mercurial-setup fails on getting bugzilla credentials

Categories

(Firefox Build System :: Mach Core, enhancement)

enhancement
Not set

Tracking

(firefox42 fixed)

RESOLVED FIXED
mozilla42
Tracking Status
firefox42 --- fixed

People

(Reporter: Ms2ger, Assigned: briansmith)

Details

Attachments

(1 file)

...
Configured qnew to set patch author by default.

Error running mach:

    ['mercurial-setup']

The error occurred in code that was called by the mach command. This is either
a bug in the called code itself or in the way that mach is calling it.

You should consider filing a bug for this issue.

If filing a bug, please include the full output of mach, including this error
message.

The details of the failure are as follows:

ValueError: need more than 2 values to unpack

  File "/mozilla-central/tools/mercurial/mach_commands.py", line 68, in mercurial_setup
    result = wizard.run(map(os.path.expanduser, config_paths))
  File "/mozilla-central/tools/mercurial/hgsetup/wizard.py", line 385, in run
    bzuser, bzpass, bzuserid, bzcookie = c.get_bugzilla_credentials()


(Note: the throwing code is under an `if 'reviewboard' in c.extensions or 'bzpost' in c.extensions:` block.)
Assignee: nobody → brian
Comment on attachment 8640608 [details] [diff] [review]
fix-hgsetup.patch

Review of attachment 8640608 [details] [diff] [review]:
-----------------------------------------------------------------

Thank you for fixing this yourself.
Attachment #8640608 - Flags: review?(gps) → review+
Status: NEW → ASSIGNED
Keywords: checkin-needed
Target Milestone: --- → mozilla42
https://hg.mozilla.org/mozilla-central/rev/87c4b1fb5255
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.