--- a/hgext/journal.py Mon Jul 10 23:09:51 2017 +0900
+++ b/hgext/journal.py Mon Jul 10 23:09:51 2017 +0900
@@ -61,8 +61,8 @@
def extsetup(ui):
extensions.wrapfunction(dispatch, 'runcommand', runcommand)
extensions.wrapfunction(bookmarks.bmstore, '_write', recordbookmarks)
- extensions.wrapfunction(
- localrepo.localrepository.dirstate, 'func', wrapdirstate)
+ extensions.wrapfilecache(
+ localrepo.localrepository, 'dirstate', wrapdirstate)
extensions.wrapfunction(hg, 'postshare', wrappostshare)
extensions.wrapfunction(hg, 'copystore', unsharejournal)