diff hgext/fix.py @ 49977:b5ecd0bcbcd7 stable

fix: add more information to the debug output The previous debug output did not help to understand which file where fixed in which revision. The new output should cover that.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Fri, 03 Feb 2023 12:54:17 +0100
parents 642e31cb55f0
children a3c856e2ea2f
line wrap: on
line diff
--- a/hgext/fix.py	Fri Feb 03 01:07:59 2023 -0500
+++ b/hgext/fix.py	Fri Feb 03 12:54:17 2023 +0100
@@ -698,6 +698,9 @@
             command = fixer.command(ui, path, ranges)
             if command is None:
                 continue
+            msg = b'fixing: %s - %s - %s\n'
+            msg %= (fixctx, fixername, path)
+            ui.debug(msg)
             ui.debug(b'subprocess: %s\n' % (command,))
             proc = subprocess.Popen(
                 procutil.tonativestr(command),