Commits

Yuya Nishihara  committed ba0c6b6

repowatcher: watch patches/status to invalidate stale applied (fixes #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,
unapplied patches may be displayed as applied.

  • Participants
  • Parent commits 264962e
  • Branches stable

Comments (0)

Files changed (1)

File tortoisehg/hgqt/thgrepo.py

         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'))
             watchedfiles.append(self.repo.join('patches.queue'))
             watchedfiles.append(self.repo.join('patches.queues'))