Source

thg-qt-mq / dirtyrepocacheclear.diff

Full commit
# HG changeset patch
# Parent 30f3760dc4eff3b31a3dad5ddabac41cd72f9d04
diff --git a/tortoisehg/hgqt/workbench.py b/tortoisehg/hgqt/workbench.py
--- a/tortoisehg/hgqt/workbench.py
+++ b/tortoisehg/hgqt/workbench.py
@@ -635,6 +635,7 @@ class Workbench(QMainWindow):
             w = tw.widget(index)
             try:
                 reporoot = w.repo.root
+                del thgrepo._repocache[reporoot]
             except:
                 reporoot = ''
             if w and w.closeRepoWidget():