# HG changeset patch # User Matt Mackall # Date 1224722432 18000 # Node ID 60826e071ce21d9f578723c02c734a44baaba496 # Parent 1f6d2e4871356c19865915e973ddf7f9b3ae24c5 inotify: avoid passing potentially stale stat to update diff -r 1f6d2e487135 -r 60826e071ce2 hgext/inotify/server.py --- a/hgext/inotify/server.py Wed Oct 22 19:40:32 2008 -0500 +++ b/hgext/inotify/server.py Wed Oct 22 19:40:32 2008 -0500 @@ -338,7 +338,7 @@ if not wfn.startswith(wtopdir): continue status = state[0] - st = self.getstat(wfn) + st = self.stat(wfn) if status == 'r' and not st: self.updatestatus(wfn, st, status=status) else: