mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-21 16:53:08 +02:00
Merge
- Fixed merge, with an egregious hack for now, by creating zero-byte undo.data file. This goes against the whole TDB2 philosophy, so it is temporary. - Updated PUNCHLIST. - Removed old tdb comment from CmdMerge.
This commit is contained in:
parent
dcd0bd1de7
commit
87df2f66ec
3 changed files with 4 additions and 2 deletions
|
@ -1,5 +1,4 @@
|
||||||
Beta1 Punch List
|
Beta1 Punch List
|
||||||
- Working dependencies
|
|
||||||
- DOM access
|
- DOM access
|
||||||
- Working merge command
|
- Working merge command
|
||||||
- task.1 man page that is accurate
|
- task.1 man page that is accurate
|
||||||
|
|
|
@ -503,6 +503,10 @@ void TDB2::set_location (const std::string& location)
|
||||||
undo.target (location + "/undo.data");
|
undo.target (location + "/undo.data");
|
||||||
backlog.target (location + "/backlog.data");
|
backlog.target (location + "/backlog.data");
|
||||||
synch_key.target (location + "/synch.key");
|
synch_key.target (location + "/synch.key");
|
||||||
|
|
||||||
|
// TODO Awful miserable hack to make merge work with TDB2.
|
||||||
|
if (! undo._file.exists ())
|
||||||
|
undo._file.create ();
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
|
@ -97,7 +97,6 @@ int CmdMerge::execute (std::string& output)
|
||||||
|| (bAutopush) )
|
|| (bAutopush) )
|
||||||
{
|
{
|
||||||
// TODO derive autopush uri from merge.default.uri? otherwise: change prompt above
|
// TODO derive autopush uri from merge.default.uri? otherwise: change prompt above
|
||||||
// context.task.set ("description", uri._data);
|
|
||||||
|
|
||||||
std::string out;
|
std::string out;
|
||||||
context.commands["push"]->execute (out);
|
context.commands["push"]->execute (out);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue