mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Task
- Prevented some (but not all) errors from being incorrectly displayed as "no longer support file format 1".
This commit is contained in:
parent
632fca4c9a
commit
1be01b19a4
1 changed files with 4 additions and 0 deletions
|
@ -738,6 +738,10 @@ void Task::parseLegacy (const std::string& line)
|
||||||
// File format version 3, from 2009-3-23 - 2009-05-16, v1.6.0 - v1.7.1
|
// File format version 3, from 2009-3-23 - 2009-05-16, v1.6.0 - v1.7.1
|
||||||
case 3: throw std::string (STRING_TASK_NO_FF3);
|
case 3: throw std::string (STRING_TASK_NO_FF3);
|
||||||
|
|
||||||
|
// File format version 4, from 2009-05-16 - today, v1.7.1+
|
||||||
|
case 4:
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
std::stringstream message;
|
std::stringstream message;
|
||||||
message << "Invalid fileformat at line '"
|
message << "Invalid fileformat at line '"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue