diff --git a/CHANGELOG.md b/CHANGELOG.md index a4a853a..51c093b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ This project adheres to [Semantic Versioning](http://semver.org/). - Added `reparse` command for reparsing data of a given revision (e.g. when it's log message was changed in repository). - The SVN command cache effectiveness (how often particular cache key is being used) is now displayed in the verbose output mode. - Display non-executed SVN command (results pulled from the cache) in the verbose mode. +- Display non-executed SVN command (results pulled from the cache) results in the debug mode. ### Changed ... diff --git a/src/SVNBuddy/Repository/Connector/Command.php b/src/SVNBuddy/Repository/Connector/Command.php index 2d1c4d6..11c308a 100644 --- a/src/SVNBuddy/Repository/Connector/Command.php +++ b/src/SVNBuddy/Repository/Connector/Command.php @@ -158,6 +158,10 @@ public function run($callback = null) $this->_io->writeln('[svn, cached]: ' . $this . ''); } + if ( $this->_io->isDebug() ) { + $this->_io->writeln($output, OutputInterface::OUTPUT_RAW); + } + if ( is_callable($callback) ) { call_user_func($callback, Process::OUT, $output); }