diff mercurial/localrepo.py @ 32490: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 b9942bc6b292
children a87dabb053d0
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",