this post was submitted on 02 Jul 2023
25 points (100.0% liked)

Ask Experienced Devs

1231 readers
1 users here now

Icon base by Delapouite under CC BY 3.0 with modifications to add a gradient

founded 1 year ago
MODERATORS
 

I know other version control software exists, but does anyone use it? Why? What are the differences? All I've ever actually seen people use is git.

you are viewing a single comment's thread
view the rest of the comments
[–] lordmauve 2 points 1 year ago

Mercurial (hg) is a fine alternative that was widely adopted in the early 2010s, but has gradually lost mind share to git. Actually every company that I worked for in the 2010s had a Mercurial service (maybe unloved). I think companies adopted it because command line hg is closer to svn, and more obvious in general, so it was an easier migration from svn. I also think out-of-the-box hgserve is easier to understand than git serve, so before tools like GitLab and Gitea it was easier to host on-prem.

Mercurial's data model is indistinguishable from git, and IIRC it even slightly pre-dates git. The main thing git had going for it was GitHub, but that was enough to build a positive feedback loop and come to dominate the mindshare.