mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-09-02 21:57:19 +02:00
Columns - mask, imask, parent
- Implemented column objects for the mask, imask and parent attributes. Why not.
This commit is contained in:
parent
cdda791c84
commit
6140f4af9d
9 changed files with 424 additions and 8 deletions
|
@ -157,14 +157,6 @@ int CmdImport::execute (std::string& output)
|
|||
task.setAnnotations (annos);
|
||||
}
|
||||
|
||||
// These must be imported, but are not represented by Column
|
||||
// objects.
|
||||
else if (i->first == "mask" ||
|
||||
i->first == "imask" ||
|
||||
i->first == "parent")
|
||||
{
|
||||
task.set (i->first, unquoteText (i->second->dump ()));
|
||||
}
|
||||
else
|
||||
throw std::string ("Unrecognized attribute '") + i->first + "'";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue