comparison hgext/inotify/client.py @ 7145:6f4a253f2a64

inotify: fix status not showing "clean" files (issue907) The inotify server uses 'c' for clean, not 'n'.
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Sat, 18 Oct 2008 23:06:29 +0200
parents ab57069232b4
children 59b4ae211584
comparison
equal deleted inserted replaced
7144:9364c3304ca2 7145:6f4a253f2a64
27 for n in names or []: 27 for n in names or []:
28 yield n 28 yield n
29 states = 'almrx!' 29 states = 'almrx!'
30 if ignored: 30 if ignored:
31 raise ValueError('this is insanity') 31 raise ValueError('this is insanity')
32 if clean: states += 'n' 32 if clean: states += 'c'
33 if unknown: states += '?' 33 if unknown: states += '?'
34 yield states 34 yield states
35 35
36 req = '\0'.join(genquery()) 36 req = '\0'.join(genquery())
37 37