mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-21 07:43:08 +02:00
Feature #559
- Added feature #559, which implements a new configuration variable, rc.exit.on.missing.db, which causes taskwarrior to exit if the rc.data.location is missing (thanks to Sander Marechal).
This commit is contained in:
parent
526fa07326
commit
45a757832a
8 changed files with 86 additions and 9 deletions
|
@ -57,7 +57,6 @@ void handleRecurrence ()
|
|||
{
|
||||
std::vector <Task> tasks;
|
||||
context.tdb.loadPending (tasks);
|
||||
|
||||
std::vector <Task> modified;
|
||||
|
||||
// Look at all tasks and find any recurring ones.
|
||||
|
@ -66,6 +65,7 @@ void handleRecurrence ()
|
|||
{
|
||||
if (t->getStatus () == Task::recurring)
|
||||
{
|
||||
/*
|
||||
// Generate a list of due dates for this recurring task, regardless of
|
||||
// the mask.
|
||||
std::vector <Date> due;
|
||||
|
@ -143,6 +143,7 @@ void handleRecurrence ()
|
|||
t->set ("mask", mask);
|
||||
context.tdb.update (*t);
|
||||
}
|
||||
*/
|
||||
}
|
||||
else
|
||||
modified.push_back (*t);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue