# HG changeset patch # User Martin von Zweigbergk # Date 1547156185 28800 # Node ID 0f2b8d51bfdf143dcca3e6ab3cf9ddb5392af90f # Parent 44914de4e91524c8f799c2f7aa195b6b395134b8 narrow: include journal.narrowspec in transaction journal We had missed this file before, which led to it lying around after the transaction completed. Differential Revision: https://phab.mercurial-scm.org/D5556 diff --git a/mercurial/localrepo.py b/mercurial/localrepo.py --- a/mercurial/localrepo.py +++ b/mercurial/localrepo.py @@ -1912,6 +1912,7 @@ def _journalfiles(self): return ((self.svfs, 'journal'), + (self.svfs, 'journal.narrowspec'), (self.vfs, 'journal.dirstate'), (self.vfs, 'journal.branch'), (self.vfs, 'journal.desc'), diff --git a/tests/test-narrow-clone-stream.t b/tests/test-narrow-clone-stream.t --- a/tests/test-narrow-clone-stream.t +++ b/tests/test-narrow-clone-stream.t @@ -77,11 +77,11 @@ 00manifest.i data (tree flat-fncache !) fncache (tree flat-fncache !) - journal.narrowspec meta (tree !) narrowspec undo undo.backupfiles + undo.narrowspec undo.phaseroots Checking that repository has all the required data and not broken