diff -r 6e8582ccf76d -r a614f26d4897 mercurial/transaction.py --- a/mercurial/transaction.py Sat Oct 05 09:55:56 2019 -0400 +++ b/mercurial/transaction.py Sat Oct 05 09:57:00 2019 -0400 @@ -333,8 +333,10 @@ # for generation at closing, check if it's before or after finalize postfinalize = group == gengrouppostfinalize - if (group != gengroupall and - (id in postfinalizegenerators) != (postfinalize)): + if ( + group != gengroupall + and (id in postfinalizegenerators) != postfinalize + ): continue vfs = self._vfsmap[location]