[PATCH 3 of 3] ignore: process hgignore files in deterministic order

Idan Kamara idankk86 at gmail.com
Thu Dec 20 14:45:12 CST 2012


On Thu, Dec 20, 2012 at 10:29 PM, Bryan O'Sullivan <bos at serpentine.com> wrote:
> On Wed, Dec 19, 2012 at 1:57 PM, Matt Mackall <mpm at selenic.com> wrote:
>>
>> Why does this matter?
>
>
> It doesn't yet. But in the happier shinier future of inotify, we will want
> to know if a client and server's hgignore data are in sync, which will
> involve the client sending a hash of its hgignore data to the server to
> validate. We need a well-defined order to make that future hash stable.

This sounds strikingly similar to something the command server (or
more precisely the filecache) can deal with. It currently stats file on
demand to look for changes, but replacing that with events sounds
doable.


More information about the Mercurial-devel mailing list