Implementation of Indexes Extension

Isaac Jurado diptongo at gmail.com
Wed Feb 15 05:50:38 CST 2012


On Tue, Feb 14, 2012 at 4:44 PM, Na'Tosha Bard <natosha at unity3d.com> wrote:
>
> http://mercurial.selenic.com/wiki/IndexesExtension
>
> What I would like to know is why is it not implemented yet?  Is it
> only because no one had the time or desire, or are the core Mercurial
> developers opposed to this sort of functionality?

I don't know about Mercurial developers, but I'm much rather prefer
Mercurial over Git *precisely* because I don't have to deal with the
index.

AFAIK, the Git index is an internal design aspect used that optimizes
some operations.  In the very beginning, when Git did not have a proper
UI, it was be exposed to the user like build-tree, and every other
command you had to invoke manually as part of the original commit
process, for example.

Therefore, I have the feeling that the wiki page explanation is a bit
flawed for two reasons:

    1. If follows the belief that the index is an innovative and useful
       feature for the user.  Whereas, in my opinion, it is an
       implementation detail that was not hidden in time before its
       broad adoption.

    2. The proposed UI for the extension does not seem to be easier to
       use than MQ.

However, if the purpose of such extension is to make poor Git users feel
more comfortable, then go ahead.

Cheers.

-- 
Isaac Jurado

"The noblest pleasure is the joy of understanding"
Leonardo da Vinci


More information about the Mercurial-devel mailing list