- Group Reviewers
- rFBHGX2b1e066479ba: fold: start using formatter to print output
Could you use with fm? That will ensure fm.end() gets called.
You can also modernize the code so lock and transaction are in a same with:
with repo.wlock(), repo.lock(), repo.transaction('fold') as tr, ui.formatter(...) as fm: