mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Merge branch '1.9.3' of tasktools.org:task into 1.9.3
This commit is contained in:
commit
76fa56d3fb
2 changed files with 7 additions and 1 deletions
|
@ -39,6 +39,8 @@
|
||||||
substitution (thanks to Michelle Crane).
|
substitution (thanks to Michelle Crane).
|
||||||
+ Fixed problem with command line configuration overrides that had no
|
+ Fixed problem with command line configuration overrides that had no
|
||||||
values.
|
values.
|
||||||
|
+ Fixed bug #444, which made task shell unusable after canceling out of an
|
||||||
|
undo command.
|
||||||
|
|
||||||
------ old releases ------------------------------
|
------ old releases ------------------------------
|
||||||
|
|
||||||
|
|
|
@ -933,7 +933,11 @@ void TDB::undo ()
|
||||||
|
|
||||||
// Output displayed, now confirm.
|
// Output displayed, now confirm.
|
||||||
if (!confirm ("The undo command is not reversible. Are you sure you want to revert to the previous state?"))
|
if (!confirm ("The undo command is not reversible. Are you sure you want to revert to the previous state?"))
|
||||||
throw std::string ("No changes made.");
|
{
|
||||||
|
std::cout << "No changes made." << std::endl;
|
||||||
|
context.hooks.trigger ("post-undo");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// Extract identifying uuid.
|
// Extract identifying uuid.
|
||||||
std::string uuid;
|
std::string uuid;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue