News for hackers. Stuff that matters.
Re:Adding Mercurial support to Gitlab by mprev on Thursday September 20, 2018 @02:18AM (#18030168)
The battle seemed to be between Bazaar and Mercurial for so long. Both were easy-ish to use and both were written in Python.

Mercurial usually had the speed advantage but then git came along and wasn’t written in Python. Speed wise it blew Bazaar and Mercurial out of the water.

It was harder to learn for someone used to svn, perhaps, but the sheer weight of both Linus and Linux made it hard to ignore.

I think GitHub deserve a lot of the credit for git’s omnipresence, though. With Launchpad our aim was to create something bigger than “just” a code sharing site and fairly or unfairly both Launchpad and Bazaar were seen as too close to Canonical. Whereas GitHub picked up the mantle that Sourceforge had dropped and made something way more collaborative than Sourceforge but held onto the idea of being a neutral third party.

Re:Adding Mercurial support to Gitlab by lake99 on Thursday September 20, 2018 @02:34AM (#18030229)
> Speed wise it blew Bazaar and Mercurial out of the water.

Benchmarks for this are hard to come by, and are for versions that are considered quite outdated now. But from what little there is, there wasn't that much of a performance difference between git and hg. For example, see this: https://www.draketo.de/proj/hg-vs-git-server/test-results.ht...

Re:Adding Mercurial support to Gitlab by CamouflagedKiwi on Thursday September 20, 2018 @02:51AM (#18030284)
Fair, but that misses a bunch of short-running simple operations where hg does badly; things like "print the repo root" or "print the current branch name" take several milliseconds in Git, but Mercurial needs an order of magnitude longer (see e.g. https://www.mercurial-scm.org/wiki/OxidationPlan for some description of the issues there). Doesn't seem like much, but those add up, especially when they're wrapped up into other scripts that might run several of those in sequence.
Re:Adding Mercurial support to Gitlab by lake99 on Thursday September 20, 2018 @05:29AM (#18030901)
Yes, there is a penalty of starting and stopping the Python interpreter every time, which is why they want to implement the front end command in Rust. For scripts, current users are better off adapting to the current hg ecosystem, and writing their scripts in Python.
Re:Adding Mercurial support to Gitlab by type0 on Thursday September 20, 2018 @05:10AM (#18030821)
Thanks for the link. I was not aware that hg on windows was that painful, plus all the dll hell that makes it hard for Rustification.
Re:Adding Mercurial support to Gitlab by mprev on Thursday September 20, 2018 @02:41AM (#18030253)
Well, sure they’re outdated because we’re talking about stuff that happened at least ten years ago.

As for benchmarks, I don’t have any but there’s plenty of anecdata elsewhere in this thread that echoes the idea that git had significant speed advantages over both bzr and hg.

Re:Adding Mercurial support to Gitlab by fnord123 on Thursday September 20, 2018 @05:19AM (#18030859)
>both Launchpad and Bazaar were seen as too close to Canonical

I think it's more that Launchpad is terribad. No matter how much I used it, I struggled to get to the code so I could read it. It looks like it's been somewhat fixes now with a small "Browse the code" link on the project landing site. It used to be like 4 clicks if you knew what to look for.

And when I used bazaar (on Arch in 2004 trying to contribute to Exaile), it would pin a core and make no progress. I didn't look at it again.

Re:Adding Mercurial support to Gitlab by inferiorhuman on Thursday September 20, 2018 @02:22AM (#18030185)
Bazaar... now there's a name I've tried to forget.
Re:Adding Mercurial support to Gitlab by stevekemp on Thursday September 20, 2018 @11:27AM (#18033141)
I think my history went something like this:

RCS -> CVS, CVS -> SVN, SVN -> Darcs, Darcs -> Mercurial, then Mercurial -> Git.

Bazaar I had to use for interactions with Ubuntu, but never in a serious way. Similarly I used a few other things such as Visual Source Safe (shudder), SCCS, and even BitKeeper, but I think they were used quite shallowly.

Re:Adding Mercurial support to Gitlab by zeckalpha on Thursday September 20, 2018 @07:35AM (#18031446)
Mercurial and git started the same month.