Commands - merge
- Migrated handleMerge to CmdMerge.
This commit is contained in:
@@ -249,10 +249,7 @@ int Context::dispatch (std::string &out)
|
||||
Timer t ("Context::dispatch");
|
||||
|
||||
// TODO Chain-of-command pattern dispatch.
|
||||
if (cmd.command == "merge") { tdb.gc ();
|
||||
handleMerge (out); }
|
||||
else if (cmd.command == "" &&
|
||||
sequence.size ()) { rc = handleModify (out); }
|
||||
if (cmd.command == "" && sequence.size ()) { rc = handleModify (out); }
|
||||
|
||||
// Commands that display IDs and therefore need TDB::gc first.
|
||||
// ...
|
||||
|
||||
Reference in New Issue
Block a user