[PATCH 1 of 2] dirstate: add an extension hook for interesting files

Augie Fackler raf at durin42.com
Sat May 11 20:27:21 CDT 2013


On May 10, 2013, at 12:11 PM, Kevin Bullock <kbullock+mercurial at ringworld.org> wrote:

> On 10 May 2013, at 1:17 AM, Siddharth Agarwal wrote:
> 
>> # HG changeset patch
>> # User Siddharth Agarwal <sid0 at fb.com>
>> # Date 1366675878 25200
>> #      Mon Apr 22 17:11:18 2013 -0700
>> # Node ID ed4040d92e56cd7a963f896f72bcf55922449171
>> # Parent  0a031b2198905fed27a2c5adbda215c7907d3cea
>> dirstate: add an extension hook for interesting files
>> 
>> Consider a hypothetical extension that implements walk in a more efficient
>> manner and return only files that status would consider interesting. However,
>> that can only be done under some situations, such as when clean files are
>> not being asked for and a match.traversedir callback is not set. The
>> interesting flag lets walk tell these two cases apart.
> 
> Series looks fine to me -- since it doesn't actually do anything ;) I'll let Matt or someone with more direct knowledge of this extension you're planning actually queue it though.

I think this is moving towards a replacement notify.

> 
> pacem in terris / мир / शान्ति / ‎‫سَلاَم‬ / 平和
> Kevin R. Bullock
> 
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at selenic.com
> http://selenic.com/mailman/listinfo/mercurial-devel



More information about the Mercurial-devel mailing list