diff mercurial/templatefilters.py @ 49995:27fd12eca557

transaction: quietly rollback if no other changes than temporary files If no actual change have been made, we don't really need to roll them back. We only have to cleanup some temporary files and it seems reasonable to do that quietly. This will help us to use the transaction in wider context¹ without impacting the user experience. [1] as in Python context managers that lives longer.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Tue, 14 Feb 2023 20:09:39 +0100
parents c96ed4029fda
children 046b9cce5850
line wrap: on
line diff