Show More
@@ -235,7 +235,6 b' class repowatcher(pollable):' | |||||
235 | self.statcache = {} |
|
235 | self.statcache = {} | |
236 | self.statustrees = dict([(s, {}) for s in self.statuskeys]) |
|
236 | self.statustrees = dict([(s, {}) for s in self.statuskeys]) | |
237 |
|
237 | |||
238 | self.watches = 0 |
|
|||
239 | self.last_event = None |
|
238 | self.last_event = None | |
240 |
|
239 | |||
241 | self.lastevent = {} |
|
240 | self.lastevent = {} | |
@@ -277,7 +276,6 b' class repowatcher(pollable):' | |||||
277 | self.ui.note(_('watching %r\n') % path[len(self.wprefix):]) |
|
276 | self.ui.note(_('watching %r\n') % path[len(self.wprefix):]) | |
278 | try: |
|
277 | try: | |
279 | self.watcher.add(path, mask) |
|
278 | self.watcher.add(path, mask) | |
280 | self.watches += 1 |
|
|||
281 | except OSError, err: |
|
279 | except OSError, err: | |
282 | if err.errno in (errno.ENOENT, errno.ENOTDIR): |
|
280 | if err.errno in (errno.ENOENT, errno.ENOTDIR): | |
283 | return |
|
281 | return |
General Comments 0
You need to be logged in to leave comments.
Login now