News for hackers. Stuff that matters.
Re:Ask HN: What's the worst piece of software you use everyday? by dreamcompiler on Saturday July 11, 2020 @10:53PM (#23808360)
I love mercurial but since I've gotten used to git I miss the lack of the staging area and stash in mercurial. I have to grudgingly admit they're very useful.
Re:Ask HN: What's the worst piece of software you use everyday? by ptx on Sunday July 12, 2020 @09:08AM (#23811052)
In some cases (all my usecases, but perhaps yours are different) the staging area can be replaced by some combination of "hg commit --amend" and "hg commit --interactive" - or in older versions "hg rollback" and "hg record".
Re:Ask HN: What's the worst piece of software you use everyday? by arp242 on Sunday July 12, 2020 @01:36AM (#23809121)
You can get the "git stash" with the shelve extension: https://www.mercurial-scm.org/wiki/ShelveExtension