- 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:
Paul Beckingham 2011-06-27 23:23:28 -04:00
parent 526fa07326
commit 45a757832a
8 changed files with 86 additions and 9 deletions

View file

@ -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);