[PATCH] Fix Issue 1371: INotify server raising an error when removing a file
Benoit Boissinot
bboissin at gmail.com
Sat Nov 1 11:05:41 CDT 2008
On Sat, Nov 1, 2008 at 5:43 AM, Gerard Korsten <soonkia77 at gmail.com> wrote:
> # HG changeset patch
> # User Gerard Korsten <soonkia77 at gmail.com>
> # Date 1225514445 -7200
> # Node ID bff1ef35c34a0cf3413a9a93a2b17e28541a6b1f
> # Parent b1981315fafdd12788ab9ea5e7980b6c45826fad
> Fix Issue 1371: INotify server raising an error when removing a file
>
> When a file is deleted via hg rm <file> the dirstate marks the file with
> a status of 'r'. The physical file has been deleted, but INotify server.py
> tries to do a stat on the file after it's been removed. Patch adds a check
> for to ensure INotify doesn't do a stat on these files.
Could you please add a testcase ?
thanks,
Benoit
More information about the Mercurial-devel
mailing list