SCM/HGtoGit: Difference between revisions

Jump to navigation Jump to search
m
Correct inaccuracies
m (Correct inaccuracies)
Line 12: Line 12:
* Simplified onboarding for new contributors as Git is better known today than Hg {{devs}}
* Simplified onboarding for new contributors as Git is better known today than Hg {{devs}}
* Git supports new workflows not supported by Hg {{devs}}
* Git supports new workflows not supported by Hg {{devs}}
* Git lets developers have a single repository (and multiple checkouts if so desired) for m-c, aurora, beta, etc, work {{devs}}
* <strike>Git lets developers have a single repository (and multiple checkouts if so desired) for m-c, aurora, beta, etc, work {{devs}}</strike>
** This is doable with the [http://mercurial.selenic.com/wiki/ShareExtension share extension]. See https://bitbucket.org/indygreg/gecko/ for a unified Mercurial repository.
* Better merging algorithm, fewer conflicts {{devs}}
* Better merging algorithm, fewer conflicts {{devs}}
* Easier source code archeology, we'll have history since the dawn of time (i.e. all of Hg and CVS) {{devs}}
* <strike>Easier source code archeology, we'll have history since the dawn of time (i.e. all of Hg and CVS) {{devs}}</strike>
** This is doable with Mercurial. We'd like need a flag day. But we could do it if we wanted.
* Git performs better than Hg (modulo in some operations on Windows, which we're working on) {{devs}}
* Git performs better than Hg (modulo in some operations on Windows, which we're working on) {{devs}}
* Hg occasionally corrupts repositories (known bug, wontfix), no such known issues with Git {{devs}} {{releng}}
* <strike>Hg occasionally corrupts repositories (known bug, wontfix), no such known issues with Git {{devs}} {{releng}}</strike>
** Modern versions of Mercurial don't corrupt repositories with nearly the same frequency as older versions. If you are referring to {{bug|737865}}, this is because Mozilla is hosting Mercurial over NFS, which is not recommended.
* Mozilla currently makes use of Hg and Git, consolidation is easier for all devs {{devs}}
* Mozilla currently makes use of Hg and Git, consolidation is easier for all devs {{devs}}
* Better review tools (Gerrit) available for devs {{devs}}
* <strike>Better review tools (Gerrit) available for devs {{devs}}</strike>
** Most review tools are built on the concept of *take a patch against a parent revision* and this concept works equally well with Mercurial and Git. ReviewBoard, Rietveld, and Phabricator all support Mercurial and Git.
* Simplified debugging (no longer have to debug Hg) {{releng}} {{IT}}
* Simplified debugging (no longer have to debug Hg) {{releng}} {{IT}}
* Simplified management as only one SCM system {{releng}} {{IT}}
** You are just swapping Mercurial for Git.
* <strike>Simplified management as only one SCM system {{releng}} {{IT}}</strike>
** IT will still manage hg.mozilla.org as not every project will switch to Git.


===Issues===
===Issues===
canmove, Confirmed users
409

edits

Navigation menu