- Fixed bug that caused the 'done' command to always exit with a non-zero
  status (thanks to Steve Rader).
This commit is contained in:
Paul Beckingham 2011-01-09 21:25:09 -05:00
parent 914626e2b2
commit 1d8a60a9ba
3 changed files with 5 additions and 1 deletions

View file

@ -29,6 +29,8 @@
+ Added _query helper command for script writers, which accepts a filter like + Added _query helper command for script writers, which accepts a filter like
any other report, but returns only full JSON. any other report, but returns only full JSON.
+ The dependency columns are now right-justified (thanks to Eric Fluger). + The dependency columns are now right-justified (thanks to Eric Fluger).
+ Fixed bug that caused the 'done' command to always exit with a non-zero
status (thanks to Steve Rader).
+ Fixed bug #515, which displayed an incorrect message after duplicating a + Fixed bug #515, which displayed an incorrect message after duplicating a
non-existent task (thanks to Peter De Poorter). non-existent task (thanks to Peter De Poorter).
+ Fixed bug #529, where the 'depends' attribute was not mentioned in the + Fixed bug #529, where the 'depends' attribute was not mentioned in the

2
NEWS
View file

@ -11,7 +11,7 @@ New Features in taskwarrior 1.9.4
- The first month in the calendar report can now be changed with an offset - The first month in the calendar report can now be changed with an offset
value. value.
- No more dependency on ncurses. - No more dependency on ncurses.
- New '_query helper command for script writers, which accepts a filter like - New '_query' helper command for script writers, which accepts a filter like
any other report, but returns unformatted JSON. any other report, but returns unformatted JSON.
- Assorted bug fixes. - Assorted bug fixes.

View file

@ -1864,6 +1864,7 @@ int handleDone (std::string& outs)
nagged = nag (*task); nagged = nag (*task);
} }
else else
{
out << "Task " out << "Task "
<< task->id << task->id
<< " '" << " '"
@ -1871,6 +1872,7 @@ int handleDone (std::string& outs)
<< "' is neither pending nor waiting.\n"; << "' is neither pending nor waiting.\n";
rc = 1; rc = 1;
} }
}
if (count) if (count)
context.tdb.commit (); context.tdb.commit ();