##// END OF EJS Templates
inotify: add debugging mode to inotify...
Matt Mackall -
r7219:1f6d2e48 default
parent child Browse files
Show More
@@ -56,6 +56,18 b' def reposetup(ui, repo):'
56 if not ignored and not self.inotifyserver:
56 if not ignored and not self.inotifyserver:
57 result = client.query(ui, repo, files, match, False,
57 result = client.query(ui, repo, files, match, False,
58 clean, unknown)
58 clean, unknown)
59 if ui.config('inotify', 'debug'):
60 r2 = super(inotifydirstate, self).status(
61 match, False, clean, unknown)
62 for c,a,b in zip('LMARDUIC', result, r2):
63 for f in a:
64 if f not in b:
65 ui.warn('*** inotify: %s +%s\n' % (c, f))
66 for f in b:
67 if f not in a:
68 ui.warn('*** inotify: %S -%s\n' % (c, f))
69 result = r2
70
59 if result is not None:
71 if result is not None:
60 return result
72 return result
61 except (OSError, socket.error), err:
73 except (OSError, socket.error), err:
General Comments 0
You need to be logged in to leave comments. Login now