Mercurial > hg
changeset 7082:be81b4788115
inotify: fix confusion on files in lookup state
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Fri, 10 Oct 2008 11:29:30 -0500 |
parents | 2fdbf2ccd03a |
children | 9dcce703edb8 |
files | hgext/inotify/server.py |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/inotify/server.py Sun Oct 12 22:56:43 2008 +0200 +++ b/hgext/inotify/server.py Fri Oct 10 11:29:30 2008 -0500 @@ -253,6 +253,8 @@ if not st: return '!' st_mode, st_size, st_mtime = st + if size == -1: + return 'l' if size and (size != st_size or (mode ^ st_mode) & 0100): return 'm' if time != int(st_mtime):