Re:I'm going to slowly move on from Mercurial
by scrollaway on Monday January 25, 2016 @11:24PM
(#10971807)
Having used both git and mercurial extensively I can guarantee you the index is not a needless complication, it is a feature sorely missed in hg.
Re:I'm going to slowly move on from Mercurial
by jordigh on Tuesday January 26, 2016 @07:57AM
(#10973158)
With `hg commit --interactive` and `hg amend --interactive`, I really don't see what's the difference between a temporary commit that you keep adding stuff to and a staging area. It's all just diffs and hunks. Whether it's finalised or not is just a matter of perspective. Mercurial encodes this perspective by distinguishing draft from published commits.
Actually, with mercurial I don't need a staging area to work in separate from the working copy to perform merge, cherry-pick, or other similar operations. The index appears to be needless complication.