Implementation of Indexes Extension
pierre-yves.david at logilab.fr
Wed Feb 15 09:51:01 CST 2012
On Wed, Feb 15, 2012 at 08:46:36AM -0600, Matt Mackall wrote:
> 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)
This work on all the content of "qdiff" not just "diff". Having a way to make
it work on "just diff" would do it.
> > 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.
Same apply here: you can not exclude changes on file already in the patches.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 198 bytes
Desc: Digital signature
More information about the Mercurial-devel