# HG changeset patch # User Pierre-Yves David # Date 1495669552 -7200 # Node ID b647b923486f38d83b92089eafa9faafaa79785d # Parent bce5ebe728594150db39a8e1744b217bb62862c0 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. diff -r bce5ebe72859 -r b647b923486f 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",