Open Bug 1863519 (hg-to-git) Opened 9 months ago Updated 22 hours ago

[meta] Migrate from Mercurial to Git for Firefox Development


(Developer Infrastructure :: General, task)


(Not tracked)


(Reporter: glob, Unassigned)


(Depends on 18 open bugs, )


(Keywords: meta)


For a long time Firefox Desktop development has supported both Mercurial and
Git users. This dual SCM requirement places a significant burden on teams which
are already stretched thin in parts. We have made the decision to move Firefox
development to Git.

  • We will continue to use Bugzilla, moz-phab, Phabricator, and Lando
  • Although we'll be hosting the repository on GitHub, our contribution workflow
    will remain unchanged and we will not be accepting Pull Requests at this time
  • We're still working through the planning stages, but we're expecting at least
    six months before the migration begins


In order to deliver gains into the hands of our engineers as early as possible,
the work will be split into two components: developer-facing first, followed by
piecemeal migration of backend infrastructure.

Phase One - Developer Facing

We'll switch the primary repository from Mercurial to Git, at the same time
removing support for Mercurial on developers' workstations. At this point
you'll need to use Git locally, and will continue to use moz-phab to submit
patches for review.

All changes will land on the Git repository, which will be unidirectionally
synchronised into our existing Mercurial infrastructure.

Phase Two - Infrastructure

Respective teams will work on migrating infrastructure that sits atop
Mercurial to Git. This will happen in an incremental manner rather than
all at once.

By the end of this phase we will have completely removed support of
Mercurial from our infrastructure.

Depends on: 1788663
Depends on: 1863629
Depends on: lando-django
Depends on: 1863481
Alias: hg-to-git
Depends on: l10n-to-git
No longer blocks: 1887981
Depends on: 1887981
No longer blocks: 1887982
Depends on: 1887982
No longer depends on: 1890435
See Also: → 1890435
You need to log in before you can comment on or make changes to this bug.