mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Integration - TDB write operations
- TDB::gc rewritten. - TDB::commit fixed. - Corrected usage of handleRecurringTasks wrt TDB. - Unit tests for TDB.
This commit is contained in:
parent
314ce572e1
commit
7ff178cecc
12 changed files with 211 additions and 125 deletions
|
@ -86,9 +86,12 @@ std::string handleCustomReport (const std::string& report)
|
|||
context.tdb.lock (context.config.get ("locking", true));
|
||||
// TODO Include filter from custom report.
|
||||
context.tdb.load (tasks, context.filter);
|
||||
handleRecurrence (tasks);
|
||||
context.tdb.commit ();
|
||||
context.tdb.unlock ();
|
||||
|
||||
// TODO handleRecurrence (tdb, tasks);
|
||||
// Filter sequence.
|
||||
context.filter.applySequence (tasks, context.sequence);
|
||||
|
||||
// Initialize colorization for subsequent auto colorization.
|
||||
initializeColorRules ();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue