TW-1664: Notify of waiting→pending promotion

- Thanks to Daniel Shahaf.
This commit is contained in:
Paul Beckingham
2015-08-23 16:59:22 -04:00
parent 4a9a515a36
commit b1839adf97
15 changed files with 25 additions and 5 deletions

View File

@@ -1190,6 +1190,9 @@ int TDB2::gc ()
task.set ("status", "pending");
task.remove ("wait");
pending_changes = true;
if (context.verbose ("unwait"))
context.footnote (format (STRING_TDB2_UNWAIT, task.get ("description")));
}
pending_tasks_after.push_back (task);
@@ -1229,6 +1232,9 @@ int TDB2::gc ()
pending_tasks_after.push_back (task);
pending_changes = true;
completed_changes = true;
if (context.verbose ("unwait"))
context.footnote (format (STRING_TDB2_UNWAIT, task.get ("description")));
}
pending_tasks_after.push_back (task);