Mercurial > hg
changeset 7220:60826e071ce2
inotify: avoid passing potentially stale stat to update
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Wed, 22 Oct 2008 19:40:32 -0500 |
parents | 1f6d2e487135 |
children | 5d14b06b1cc1 |
files | hgext/inotify/server.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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: