summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/commit/commit-algorithm.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/commit/commit-algorithm.cpp b/src/commit/commit-algorithm.cpp
index 687e2df..e6356aa 100644
--- a/src/commit/commit-algorithm.cpp
+++ b/src/commit/commit-algorithm.cpp
@@ -1236,10 +1236,13 @@ commit::doCommit(Cstore& cs, CfgNode& cfg1, CfgNode& cfg2)
DelPrioQueueT dpq;
_get_commit_prio_queue(&proot, pq, dpq);
size_t s = 0, f = 0;
+
while (!dpq.empty()) {
PrioNode *p = dpq.top();
if (!_commit_exec_prio_subtree(cs, p)) {
// prio subtree failed
+ OUTPUT_USER("delete [ %s ] failed\n",
+ p->getCommitPath().to_string().c_str());
++f;
} else {
// succeeded
@@ -1251,6 +1254,8 @@ commit::doCommit(Cstore& cs, CfgNode& cfg1, CfgNode& cfg2)
PrioNode *p = pq.top();
if (!_commit_exec_prio_subtree(cs, p)) {
// prio subtree failed
+ OUTPUT_USER("[[%s]] failed\n",
+ p->getCommitPath().to_string().c_str());
++f;
} else {
// succeeded