PSA: mercurial-setup becomes vcs-setup and adds support for git

Andrew Halberstadt ahal at mozilla.com
Fri Aug 17 14:54:05 UTC 2018


This is awesome, thanks for working on it! I filed a follow-up to
detect the vcs automatically (bug 1484243).

In the meantime, if you are a git user you can create an alias in
~/.mozbuild/machrc:
[alias]
vcs-setup = vcs-setup --git

On Fri, Aug 17, 2018 at 3:51 AM Panos Astithas <past at mozilla.com> wrote:

> Hi all,
>
> since bug 1257478 landed in m-c earlier today, you should now be using
> 'mach vcs-setup' instead of 'mach mercurial-setup'. Nothing else changes in
> your workflow (e.g. 'mach mercurial-setup -u' becomes 'mach vcs-setup -u')
> and the spell checker will suggest vcs-setup if you try to use
> mercurial-setup.
>
> If you are a git-cinnabar user, your workflow is now supported. 'mach
> vcs-setup --git' will fetch the latest recommended version of git-cinnabar
> and configure it for you. The --update-only flag is also available for git,
> so it would be a good idea to run 'mach vcs-setup --git --update-only' (or
> 'mach vcs-setup -gu') every now and then to make sure everything is up to
> date.
>
> 'mach bootstrap' will also offer to update and configure your git-cinnabar
> environment if a git checkout is detected.
>
> Cheers,
> Panos
>
> _______________________________________________
> firefox-dev mailing list
> firefox-dev at mozilla.org
> https://mail.mozilla.org/listinfo/firefox-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/firefox-dev/attachments/20180817/d2c01054/attachment.html>


More information about the firefox-dev mailing list