News for hackers. Stuff that matters.
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.