--- a/mercurial/utils/procutil.py Thu Jul 18 12:03:29 2024 +0200 +++ b/mercurial/utils/procutil.py Thu Jul 18 12:36:12 2024 +0200 @@ -711,7 +711,6 @@ if stdin is not None: stdin.close() - else: def runbgcommand(