Closed Bug 1503817 Opened 6 years ago Closed 6 years ago

./mach bootstrap fails to configure git

Categories

(Firefox Build System :: Bootstrap Configuration, defect)

defect
Not set
major

Tracking

(firefox65 fixed)

RESOLVED FIXED
mozilla65
Tracking Status
firefox65 --- fixed

People

(Reporter: standard8, Assigned: sheehan)

References

Details

Attachments

(1 file)

Running ./mach bootstrap in a git-cinnabar based repository and electing to configure git fails with:

TypeError: configure_git() takes exactly 3 arguments (2 given)

  File "/Users/mark/dev/gecko/python/mozboot/mozboot/mach_commands.py", line 38, in bootstrap
    bootstrapper.bootstrap()
  File "/Users/mark/dev/gecko/python/mozboot/mozboot/bootstrap.py", line 414, in bootstrap
    configure_git(self.instance.which('git'), state_dir)

This is a regression from bug 1481425 which changed the amount of arguments passed into configure_git.
Flags: needinfo?(sheehan)
Assignee: nobody → sheehan
Status: NEW → ASSIGNED
Flags: needinfo?(sheehan)
In bug 1481425 I added an argument to `configure_git` for
the root directory of the current Firefox checkout, so
we could check for and remove the MozReview commit message
hook. I overlooked one other call to that function in
`bootstrap.py`, which is now failing due to too few
arguments. This commit adds the missing parameter.
Pushed by cosheehan@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/2659d4da0d78
add missing checkout directory argument to `configure_git` call r=glob
Thanks Connor, I couldn't quite work out what the correct parameter was there when I looked earlier.
No problem, Mark - apologies for the bustage in the first place. :)
https://hg.mozilla.org/mozilla-central/rev/2659d4da0d78
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: