Implementation of Indexes Extension
Matt Mackall
mpm at selenic.com
Wed Feb 15 14:46:36 UTC 2012
On Tue, 2012-02-14 at 23:29 +0100, Dennis Brakhane wrote:
> On Tue, Feb 14, 2012 at 5:09 PM, Alexander Sauta <demosito at gmail.com> wrote:
> > I've briefly looked through the description and didn't quite get why index
> > concept is better than mq. I mean, users like Mercurial for the absence of
> > such counter-intuitive and complex stuff in core distribution, and if they
> > want some extra power, they just turn on mq, which is IMHO a way better than
> > Git index.
>
> There are two things the the index does better than MQ:
>
> 1. The ability to add only certain changes to a file (qrefresh only
> supports adding everything)
hg qref -i (with record extension)
> 2. The ability to incrementally increase or decrease the stuff that is
> contained in the changes:
hg qref -s <file to add>
hg qref -s -X <file to remove>
You owe the oracle one patch containing qrefresh usage examples.
--
Mathematics is the supreme nostalgia of our time.
More information about the Mercurial-devel
mailing list