Fabio Manganiello on Nostr: npub1tkym3…65ekf Mercurial never actually convinced me. It's probably easier to use ...
npub1tkym33la4t3637udcn8870scfpmnfyw5mvqyjfum4pyuswk6a2wqn65ekf (npub1tky…5ekf) Mercurial never actually convinced me.
It's probably easier to use for the uninitiated than Git (and harder for a novice to mess up a codebase over a rebase gone wrong), but its branching model is also way less powerful.
Branches in Mercurial are lines of consecutive changesets, while Git doesn't have the requirement about linear consecutiveness - you can basically merge and rebase anything anywhere.
Also, since commits are tightly coupled to changesets, which are tightly coupled to branches, it's not really possible to delete branches, while in Git you can do whatever you want with them.
If I were to start a team today filled with junior developers who have never touched a VCS before, I probably may consider Mercurial, as it simplifies things and makes the branching model easier to digest. But, after more than two decades using Git (and >95% of the projects out there using it too), I feel like the cost of a weaker branching system and the overhead of memorizing another set of commands isn't worth paying.
It's probably easier to use for the uninitiated than Git (and harder for a novice to mess up a codebase over a rebase gone wrong), but its branching model is also way less powerful.
Branches in Mercurial are lines of consecutive changesets, while Git doesn't have the requirement about linear consecutiveness - you can basically merge and rebase anything anywhere.
Also, since commits are tightly coupled to changesets, which are tightly coupled to branches, it's not really possible to delete branches, while in Git you can do whatever you want with them.
If I were to start a team today filled with junior developers who have never touched a VCS before, I probably may consider Mercurial, as it simplifies things and makes the branching model easier to digest. But, after more than two decades using Git (and >95% of the projects out there using it too), I feel like the cost of a weaker branching system and the overhead of memorizing another set of commands isn't worth paying.