4 ms·
I used to use Mercurial as well and greatly preferred it, but for better or worse, Git won. I started using Git several years ago and haven't looked back. No m
by nu11ptr 3y ago
I used to use Mercurial as well and greatly preferred it, but for better or worse, Git won. I started using Git several years ago and haven't looked back.
No matter what people might say, I think this stuff matters for contributors and users who might be looking at your project, and git/github is the typical expectation. This is likely the right decision, as they are now ubiquitous.
- vasco 3y agoSame story for us, started with mercurial many years ago, eventually the tooling around git and just "using the standard" was too big to ignore and we migrated along with a bunch of other CI/CD and DevX improvements. Mercurial was cool, but lacking support meant little things like Jenkins having to "pull" 3x instead of 1x for git natively along with many of these little things meant just using git, generally saved us a bunch of work.
- lelandfe 3y agoIf you liked the interface of Mercurial, there is https://foss.heptapod.net/mercurial/hg-git https://foss.heptapod.net/mercurial/hg-git
- jcranmer 3y agoI've used that in the past, but it doesn't really work that well on large projects--it basically works by keeping a hg and a git version of the same repository, and storing a mapping between the two, which scales really poorly with multi-million commit repositories. What I really want is something that will let me use the interface of hg's power tools (revsets, phases, changeset evolution) on an existing git repository.
- aseipp 3y agoYou will probably like Jujutsu, which takes much inspiration from Mercurial, and even has a few prior Mercurial hackers working on it. It uses the Git data model underneath (so feel free to use GitHub), but has an entirely rebuilt UX and set of algorithms: https://github.com/martinvonz/jj https://github.com/martinvonz/jj It isn't a 1-to-1 hg clone, either. But tools like revsets are there, "anonymous branching", log templates, cset evolution is "built in" to the design, etc. There is no concept of phases, we might think about adding that, but there is a concept of immutable commits, so you don't overwrite public ones. The default output is designed to be succinct and beautiful, so it remains relevant on high-traffic repositories with lots of work-in-progress patches, and many developers. It also has many novel features that make it stand out, like the working-copy-commit. We care a lot about performance and usability; to the extent performance is bad, some of it comes down to piggybacking on Git's data model and existing performance issues. Give it a shot. I think you might be pleasantly surprised. Disclosure: I am a developer of Jujutsu. I do it in my spare time. P.S: You might alternatively like Sapling, from Meta. It actually is a fork of Mercurial (you can see it in the UX and features) but is very different now; in particular it also uses the Git data model for the storage layer, so it works with GitHub. It will probably feel more familiar than Jujutsu at first. And it has some absolutely amazing features like `sl web` we can't match yet. https://sapling-scm.com/ https://sapling-scm.com/
- deleted 3y ago[deleted]
- lowbloodsugar 3y agoThat Torvald’s second biggest creation is now most closely associated with a Microsoft company gives me feelings.
- akerl_ 3y agoMe too. It feels great to see such a clear example of building a successful business on an open source tool and ecosystem. Git is massively popular and actively used, GitHub built a huge community for discovering and interacting with open source projects, and since the acquisition, Microsoft-owned GitHub has continued improving their platform without breaking interop with the open spec. Everybody wins.
- deleted 3y ago[deleted]