Details
Details
- Reviewers
indygreg - Group Reviewers
hg-reviewers - Commits
- rHGa614f26d4897: transaction: re-wrap line to avoid a black bug
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Lint Skipped - Unit
Unit Tests Skipped
indygreg |
hg-reviewers |
Lint Skipped |
Unit Tests Skipped |
Path | Packages | |||
---|---|---|---|---|
M | mercurial/transaction.py (6 lines) |
Commit | Parents | Author | Summary | Date |
---|---|---|---|---|
e66d1e1bfdd0 | d1c8c097d81b | Augie Fackler | Oct 5 2019, 9:57 AM |
# write files registered for generation | # write files registered for generation | ||||
any = False | any = False | ||||
for id, entry in sorted(self._filegenerators.iteritems()): | for id, entry in sorted(self._filegenerators.iteritems()): | ||||
any = True | any = True | ||||
order, filenames, genfunc, location = entry | order, filenames, genfunc, location = entry | ||||
# for generation at closing, check if it's before or after finalize | # for generation at closing, check if it's before or after finalize | ||||
postfinalize = group == gengrouppostfinalize | postfinalize = group == gengrouppostfinalize | ||||
if (group != gengroupall and | if ( | ||||
(id in postfinalizegenerators) != (postfinalize)): | group != gengroupall | ||||
and (id in postfinalizegenerators) != postfinalize | |||||
): | |||||
continue | continue | ||||
vfs = self._vfsmap[location] | vfs = self._vfsmap[location] | ||||
files = [] | files = [] | ||||
try: | try: | ||||
for name in filenames: | for name in filenames: | ||||
name += suffix | name += suffix | ||||
if suffix: | if suffix: |