mercurial/store.py
changeset 38696 89d93dd1a222
parent 38661 8ac0c9cd4c48
child 38823 e7aa113b14f7
--- a/mercurial/store.py	Sat Jul 14 02:09:47 2018 +0200
+++ b/mercurial/store.py	Sat Jul 14 02:10:43 2018 +0200
@@ -449,6 +449,7 @@
 
     def write(self, tr):
         if self._dirty:
+            assert self.entries is not None
             tr.addbackup('fncache')
             fp = self.vfs('fncache', mode='wb', atomictemp=True)
             if self.entries: