Thank you for the update. A couple of pain points for me: - I also had to remove my ~/.mozbuild, it was full of old hg extensions that confused the new hg, and ./mach bootstrap refused to overwrite them. Maybe the wiki should mention that? - c:\mozilla-build\python3\Scripts\hg started with "#!c:\mozillabuild-stage\mozilla-build\python3\python.exe", which made my hg-using scripts fail. Fixed by removing the spurious "mozillabuild-stage\".
Cheers, Gerald On Tuesday, March 22, 2022 at 3:02:23 AM UTC+11 [email protected] wrote: > MozillaBuild 4.0 > <https://ftp.mozilla.org/pub/mozilla/libraries/win32/MozillaBuildSetup-4.0.exe> > > is the "Snow Leopard" of MozillaBuild releases - *almost* no new > features, but significant stability, usability and security improvements! > (Perhaps it's bad taste to use a macOS metaphor for Windows-specific > software 😉) > > Upgrade instructions are here > <https://wiki.mozilla.org/MozillaBuild#To_Upgrade_From_A_Previous_Version>, > the full changelog is here > <https://hg.mozilla.org/mozilla-build/pushloghtml?fromchange=MOZILLABUILD_3_3_4_RELEASE&tochange=MOZILLABUILD_4_0_0_RELEASE>, > > and you can download MozillaBuild 4.0 from here. > > *Upgrade notes* > > - *Developers running Mach outside of MozillaBuild > > <https://firefox-source-docs.mozilla.org/mach/windows-usage-outside-mozillabuild.html> > > should still install this update, as the Firefox build uses tools from > your > local MozillaBuild installation.* > - As always, do a `./mach clobber` after changing your MozillaBuild > version. > - The new version of Mercurial has compatibility issues with `evolve` > ("unhashable type: 'set'"), which can be fixed by running `./mach > vcs-setup`. <https://bugzilla.mozilla.org/show_bug.cgi?id=1758148> > > > *Highlights* > > - Ported to MSYS2, significantly updating most tools/libraries. > <https://bugzilla.mozilla.org/show_bug.cgi?id=1725895> > - Some tools are now a *whole decade* more modern! 🎉 > - This includes the `cygpath` > <https://cygwin.com/cygwin-ug-net/cygpath.html> utility for > converting between Windows and Unix-y paths. See additional > instructions on > the MozillaBuild wiki > <https://wiki.mozilla.org/MozillaBuild#Command_Prompt_Tips_and_Caveats> > . > - Windows Terminal is supported out-of-the-box. > <https://wiki.mozilla.org/MozillaBuild#Windows_Terminal> > - Use Windows' OpenSSH by default. > <https://bugzilla.mozilla.org/show_bug.cgi?id=1261899> > - Mercurial has been updated <http:///> from 5.9.3 to 6.1. > <https://www.mercurial-scm.org/wiki/Release6.1> > - Python 3 upgraded to 3.9.10, Python 2 removed. > <https://bugzilla.mozilla.org/show_bug.cgi?id=1743185> > - `hg` now uses interactive "curses" mode by default. > <https://phabricator.services.mozilla.com/D134551> > > [image: hg-histedit.png] > > [image: hg-split.png] > > > > *Fixed* > > - `python3 -m venv` no longer fails with "WinError 2". > <https://bugzilla.mozilla.org/show_bug.cgi?id=1697833> > - Running `./mach try fuzzy` no longer makes it impossible to select > or copy text. <https://bugzilla.mozilla.org/show_bug.cgi?id=1751526> > > > *Breaking changes* > > - Mercurial now uses "utf-8" by default. > <https://bugzilla.mozilla.org/show_bug.cgi?id=1419922> > - Due to the MSYS -> MSYS2 migration, a lot of underlying tools and > libraries have changed. > <https://bugzilla.mozilla.org/show_bug.cgi?id=1725895> > - Automatically-bootstrapped tools have been removed (NSIS > <https://phabricator.services.mozilla.com/D130808>, mozmake, yasm > <https://phabricator.services.mozilla.com/D134820>). > - Python's `virtualenv` package is no longer installed by default. > <https://phabricator.services.mozilla.com/D132276> (use `python3 -m > venv` instead). > - Python 2 is no longer available, and `python` now refers to Python 3. > <https://bugzilla.mozilla.org/show_bug.cgi?id=1743185> > > > *Breaking user changes* > > - `nano` is now the default editor instead of `emacs`. Set "ui.editor" > to "emacs" in ~/mercurial.ini or `export EDITOR="emacs.exe"` in your > `.bash_profile` to use emacs again. > <https://phabricator.services.mozilla.com/D134575> > - Note that we've configured `hg`'s `nano` integration to > automatically wrap lines at 80 characters to improve commit-message > ergonomics. > - `hg` merge conflicts are now solved in text form by default. To use > kdiff3 again, set `ui.diff` to `"kdiff3"` in ~/mercurial.ini. > <https://bugzilla.mozilla.org/show_bug.cgi?id=1748531> > > > 💪😎👉 Happy Windows hacking in a far more ergonomic and modern > environment 💪😎👉 > > -- > Mitchell Hentges > Engineering Workflow > Mozilla > -- You received this message because you are subscribed to the Google Groups "[email protected]" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/a/mozilla.org/d/msgid/dev-platform/f4c80b3e-b7d7-4319-b1dd-3566d90f7c40n%40mozilla.org.
