[PATCH 0 of 2] Issue 1371: Inotify Patch with a test

Gerard Korsten soonkia77 at gmail.com
Sun Nov 2 09:53:01 CST 2008


On Sun, Nov 2, 2008 at 1:54 PM, Benoit Boissinot <bboissin at gmail.com> wrote:

> On Sun, Nov 2, 2008 at 5:44 AM, Gerard Korsten <soonkia77 at gmail.com>
> wrote:
>
> I folded the patches in one patch. And slightly modified them.
> They are now pushed to crew:
> http://hg.intevation.org/mercurial/crew/rev/972737252d05
>
> It seems the test might race (deletion of 'b' isn't detected) we'll
> see if it causes
> a problem.
>
>
Hi there,

Thanks for adding it and making it better.

Not sure about the race condition as b is specifically deleted with only as
normal system delete, and not with "hg rm".

So, b is detected correctly by the test as with a status of "! b" which is
what I wanted in the test.

I found that if you're not careful with hg's INotify, you can screw up the
"hg status" output - so I decided to try and test for all file operations.

Regards,
Gerard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://selenic.com/pipermail/mercurial-devel/attachments/20081102/88f81ab0/attachment.htm 


More information about the Mercurial-devel mailing list