mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
TDB2
- Converted 'export' to TDB2.
This commit is contained in:
parent
380aadd76a
commit
5276bfd473
1 changed files with 1 additions and 9 deletions
|
@ -49,17 +49,9 @@ int CmdExport::execute (std::string& output)
|
|||
{
|
||||
int rc = 0;
|
||||
|
||||
// Get all the tasks.
|
||||
std::vector <Task> tasks;
|
||||
context.tdb.lock (context.config.getBoolean ("locking"));
|
||||
handleRecurrence ();
|
||||
context.tdb.load (tasks);
|
||||
context.tdb.commit ();
|
||||
context.tdb.unlock ();
|
||||
|
||||
// Apply filter.
|
||||
std::vector <Task> filtered;
|
||||
filter (tasks, filtered);
|
||||
filter (filtered);
|
||||
|
||||
if (filtered.size () == 0)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue