Show More
@@ -333,6 +333,10 b' class repowatcher(server.repowatcher, po' | |||||
333 | self.ui.note(_('%s reading %d events\n') % |
|
333 | self.ui.note(_('%s reading %d events\n') % | |
334 | (self.event_time(), len(events))) |
|
334 | (self.event_time(), len(events))) | |
335 | for evt in events: |
|
335 | for evt in events: | |
|
336 | if evt.fullpath == self.wprefix[:-1]: | |||
|
337 | # events on the root of the repository | |||
|
338 | # itself, e.g. permission changes or repository move | |||
|
339 | continue | |||
336 | assert evt.fullpath.startswith(self.wprefix) |
|
340 | assert evt.fullpath.startswith(self.wprefix) | |
337 | wpath = evt.fullpath[self.prefixlen:] |
|
341 | wpath = evt.fullpath[self.prefixlen:] | |
338 |
|
342 |
General Comments 0
You need to be logged in to leave comments.
Login now