comparison mercurial/obsutil.py @ 50051: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 642e31cb55f0
children a5d8f261b716
comparison
equal deleted inserted replaced
50050:3128018e878b 50051:27fd12eca557