comparison src/hgrunner.cpp @ 694:7194ca023517

Omit authkey from debug log
author Chris Cannam
date Mon, 10 Dec 2018 15:20:01 +0000
parents 5b3bcb2d0943
children 646e48a0d3a5
comparison
equal deleted inserted replaced
693:b939bdac0643 694:7194ca023517
616 } 616 }
617 } 617 }
618 618
619 QString cmdline = action.executable; 619 QString cmdline = action.executable;
620 foreach (QString param, action.params) cmdline += " " + param; 620 foreach (QString param, action.params) cmdline += " " + param;
621 DEBUG << "HgRunner: starting: " << cmdline << " with cwd " 621
622 QString reportable = cmdline;
623 reportable.replace(QRegExp("authkey=[^ ]*"), "authkey=<elided>");
624 DEBUG << "HgRunner: starting: " << reportable << " with cwd "
622 << action.workingDir << endl; 625 << action.workingDir << endl;
623 626
624 m_currentAction = action; 627 m_currentAction = action;
625 628
626 DEBUG << "set current action to " << m_currentAction.action << endl; 629 DEBUG << "set current action to " << m_currentAction.action << endl;