Interacting with HG fails after upgrading from MozillaBuild 3.4 to 4.0
Categories
(Firefox Build System :: Mach Core, defect)
Tracking
(firefox98 fixed)
Tracking | Status | |
---|---|---|
firefox98 | --- | fixed |
People
(Reporter: mhentges, Assigned: mhentges)
References
Details
Attachments
(1 file)
This is because the path to hg
is stored during configure
, but the path changes with the new MozillaBuild release because we're now using hg
with Python 3, not Python 2. So, %MOZILLABUILD%\python\Scripts\hg
=> %MOZILLABUILD%\python3\Scripts\hg
.
The solution here is likely to attempt to use the "stored" hg path, but re-attempt to find a new hg if the stored path is incorrect.
Assignee | ||
Comment 1•3 years ago
|
||
Though not a panacea, this patch addresses existing usages of
get_repository_from_build_config()
to fall back to
get_repository_object()
if MissingVCSTool
was encountered.
Ideally, we'd update substs["HG"]
when we detect that it's changed,
but we don't have infrastructure to incrementally change configure
output.
So, other issues may creep up that will warrant a fresh
./mach configure
.
Updated•3 years ago
|
Comment 3•3 years ago
|
||
bugherder |
Description
•