News for hackers. Stuff that matters.
Re:Mercurial RFC of a new extension to directly operate on G... by gpderetta on Wednesday October 30, 2019 @09:35AM (#21397505)
staging interacts with other commands as well. You can stage a bunch of stuff then revert or stash the rest, you can stash everything in the staging area, you can diff only stuff in the staging area and so on.

It basically acts as a clipboard. Possibly hg interactive commits work in the same way, but then I do not know how that would be different from a staging area.

Re:Mercurial RFC of a new extension to directly operate on G... by pseudalopex on Wednesday October 30, 2019 @03:01PM (#21401256)
Using commits for staging needs fewer different commands and prevents accidentally resetting or discarding changes.