# HG changeset patch # User Chris Cannam # Date 1544455201 0 # Node ID 7194ca023517349cc5f6808ca64fee921f0faf43 # Parent b939bdac0643ff7967b3e187f422bb903b294d74 Omit authkey from debug log diff -r b939bdac0643 -r 7194ca023517 src/hgrunner.cpp --- a/src/hgrunner.cpp Mon Dec 10 15:04:52 2018 +0000 +++ b/src/hgrunner.cpp Mon Dec 10 15:20:01 2018 +0000 @@ -618,7 +618,10 @@ QString cmdline = action.executable; foreach (QString param, action.params) cmdline += " " + param; - DEBUG << "HgRunner: starting: " << cmdline << " with cwd " + + QString reportable = cmdline; + reportable.replace(QRegExp("authkey=[^ ]*"), "authkey="); + DEBUG << "HgRunner: starting: " << reportable << " with cwd " << action.workingDir << endl; m_currentAction = action;