Mercurial > hg
diff hgext/inotify/server.py @ 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 | 4033195d455b |
children | 810ca383da9c |
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: