# HG changeset patch # User Pierre-Yves David # Date 1675425257 -3600 # Node ID b5ecd0bcbcd76283ff1fd19b284ff42cecaa1211 # Parent 68cf519429effcf9a5f41513f86a7505c0aa9d0b 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. diff -r 68cf519429ef -r b5ecd0bcbcd7 hgext/fix.py --- 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), diff -r 68cf519429ef -r b5ecd0bcbcd7 tests/test-fix.t --- a/tests/test-fix.t Fri Feb 03 01:07:59 2023 -0500 +++ b/tests/test-fix.t Fri Feb 03 12:54:17 2023 +0100 @@ -1153,6 +1153,7 @@ $ hg commit -Aqm "foo" $ printf "Foo\nbar\nBaz\n" > foo.changed $ hg --debug fix --working-dir + fixing: f65cf3136d41+ - uppercase-changed-lines - foo.changed subprocess: * $TESTTMP/uppercase.py 1-1 3-3 (glob) $ cd ..