diff hgext/mq.py @ 4614:3a645af7fb76

localrepo and dirstate: rename reload to invalidate We want to avoid actually reloading if possible.
author Matt Mackall <mpm@selenic.com>
date Mon, 18 Jun 2007 13:24:34 -0500
parents eb3b7dd1e158
children a2e025fcd256 c71bf1d251ad
line wrap: on
line diff
--- a/hgext/mq.py
+++ b/hgext/mq.py
@@ -453,8 +453,8 @@ class queue:
             try:
                 tr.abort()
             finally:
-                repo.reload()
-                repo.wreload()
+                repo.invalidate()
+                repo.dirstate.invalidate()
             raise
 
     def _apply(self, tr, repo, series, list=False, update_status=True,