Show More
@@ -116,6 +116,18 b' def _explain_watch_limit(ui, repo, count' | |||
|
116 | 116 | class RepoWatcher(object): |
|
117 | 117 | poll_events = select.POLLIN |
|
118 | 118 | statuskeys = 'almr!?' |
|
119 | mask = ( | |
|
120 | inotify.IN_ATTRIB | | |
|
121 | inotify.IN_CREATE | | |
|
122 | inotify.IN_DELETE | | |
|
123 | inotify.IN_DELETE_SELF | | |
|
124 | inotify.IN_MODIFY | | |
|
125 | inotify.IN_MOVED_FROM | | |
|
126 | inotify.IN_MOVED_TO | | |
|
127 | inotify.IN_MOVE_SELF | | |
|
128 | inotify.IN_ONLYDIR | | |
|
129 | inotify.IN_UNMOUNT | | |
|
130 | 0) | |
|
119 | 131 | |
|
120 | 132 | def __init__(self, ui, repo, master): |
|
121 | 133 | self.ui = ui |
@@ -123,18 +135,6 b' class RepoWatcher(object):' | |||
|
123 | 135 | self.wprefix = self.repo.wjoin('') |
|
124 | 136 | self.timeout = None |
|
125 | 137 | self.master = master |
|
126 | self.mask = ( | |
|
127 | inotify.IN_ATTRIB | | |
|
128 | inotify.IN_CREATE | | |
|
129 | inotify.IN_DELETE | | |
|
130 | inotify.IN_DELETE_SELF | | |
|
131 | inotify.IN_MODIFY | | |
|
132 | inotify.IN_MOVED_FROM | | |
|
133 | inotify.IN_MOVED_TO | | |
|
134 | inotify.IN_MOVE_SELF | | |
|
135 | inotify.IN_ONLYDIR | | |
|
136 | inotify.IN_UNMOUNT | | |
|
137 | 0) | |
|
138 | 138 | try: |
|
139 | 139 | self.watcher = watcher.Watcher() |
|
140 | 140 | except OSError, err: |
General Comments 0
You need to be logged in to leave comments.
Login now