Submitter | Boris Feld |
---|---|
Date | July 16, 2018, 7:27 a.m. |
Message ID | <23df6fc7289615078ea3.1531726061@FB-lair> |
Download | mbox | patch |
Permalink | /patch/32852/ |
State | Accepted |
Headers | show |
Comments
Patch
diff --git a/mercurial/store.py b/mercurial/store.py --- a/mercurial/store.py +++ b/mercurial/store.py @@ -449,6 +449,7 @@ class fncache(object): 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: