This instance will be upgraded to Heptapod 0.31.0 (final) on 2022-05-24 at 14:00 UTC+2 (a few minutes of down time)

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): ...@@ -129,6 +129,7 @@ class ThgRepoWrapper(QObject):
watchedfiles = [self.repo.sjoin('00changelog.i')] watchedfiles = [self.repo.sjoin('00changelog.i')]
if hasattr(self.repo, 'mq'): if hasattr(self.repo, 'mq'):
watchedfiles.append('series')) watchedfiles.append('series'))
watchedfiles.append(self.repo.join('patches.queue')) watchedfiles.append(self.repo.join('patches.queue'))
try: try:
mtime = [os.path.getmtime(wf) for wf in watchedfiles \ 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