changeset 32452:b647b923486f

transaction: run _writejournal unfiltered The function use the length of the repository, something affected by filtering. It seems better to use the unfiltered length here. Credit for finding this goes to Durham Goode.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Thu, 25 May 2017 01:45:52 +0200
parents bce5ebe72859
children 2def402bd16d
files mercurial/localrepo.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/localrepo.py	Mon May 22 19:18:12 2017 -0400
+++ b/mercurial/localrepo.py	Thu May 25 01:45:52 2017 +0200
@@ -1120,6 +1120,7 @@
     def undofiles(self):
         return [(vfs, undoname(x)) for vfs, x in self._journalfiles()]
 
+    @unfilteredmethod
     def _writejournal(self, desc):
         self.dirstate.savebackup(None, prefix='journal.')
         self.vfs.write("journal.branch",