mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 00:14:35 +03:00
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.
This commit is contained in:
parent
5a83391bf4
commit
c1ca9ad6ee
@ -1120,6 +1120,7 @@ class localrepository(object):
|
||||
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",
|
||||
|
Loading…
Reference in New Issue
Block a user