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

Panos Astithas past at mozilla.com
Wed Aug 22 19:25:35 UTC 2018


The --git flag to |mach vcs-setup| was short-lived after all. I've landed
bug 1484243 in autoland (thanks ahal!), so it will now figure out what VCS
is being used and do the right thing. When it merges to m-c you can forget
it was ever there.

Cheers,
Panos



On Fri, Aug 17, 2018 at 7:54 AM Andrew Halberstadt <ahal at mozilla.com> wrote:

> 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/20180822/b144be76/attachment.html>


More information about the firefox-dev mailing list