transaction: run _writejournal unfiltered
authorPierre-Yves David <pierre-yves.david@octobus.net>
Thu, 25 May 2017 01:45:52 +0200
changeset 32452 b647b923486f
parent 32451 bce5ebe72859
child 32457 2def402bd16d
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.
mercurial/localrepo.py
--- 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",