Commits

Yuya Nishihara committed 315f5ea

comment

Comments (0)

Files changed (1)

repow-mqstatus.diff

 # HG changeset patch
 # Date 1381931610 -32400
-# Parent 264962e7ad588abd7f60aa428cf036121493352c
-repowatcher: watch patches/status to invalidate stale applied status
+# Parent 7888af9efc286a2837da30c179dc396ab5a8b442
+repowatcher: watch patches/status to invalidate stale status (refs #1094)
 
 As of Mercurial 2.7.2, "hg qpop" writes series and status files after wlock
 released.  If repository cache is reloaded before status file is written,
 diff --git a/tortoisehg/hgqt/thgrepo.py b/tortoisehg/hgqt/thgrepo.py
 --- a/tortoisehg/hgqt/thgrepo.py
 +++ b/tortoisehg/hgqt/thgrepo.py
-@@ -196,6 +196,7 @@ class RepoWatcher(QObject):
+@@ -193,6 +193,7 @@ class RepoWatcher(QObject):
+         watchedfiles = []
          if hasattr(self.repo, 'mq'):
-             watchedfiles.append(self.repo.mq.path)
              watchedfiles.append(self.repo.mq.join('series'))
 +            watchedfiles.append(self.repo.mq.join('status'))
              watchedfiles.append(self.repo.mq.join('guards'))