Read about our upcoming Code of Conduct on this issue

Commit d7cd9224 authored by Steve Borho's avatar Steve Borho
Browse files

thgrepo: poll the MQ guards file if it is present

parent 6d99afb18935
......@@ -129,6 +129,7 @@ class ThgRepoWrapper(QObject):
watchedfiles = [self.repo.sjoin('00changelog.i')]
if hasattr(self.repo, 'mq'):
watchedfiles.append(self.repo.mq.join('series'))
watchedfiles.append(self.repo.mq.join('guards'))
watchedfiles.append(self.repo.join('patches.queue'))
try:
mtime = [os.path.getmtime(wf) for wf in watchedfiles \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment