Merge command

- Added call of gc() before executing the merge algorithm
- Removed workaround in unit test merge.t
This commit is contained in:
Johannes Schlatow 2010-08-06 14:58:38 +02:00
parent aa891401e4
commit f6cfa1dfa5
2 changed files with 7 additions and 8 deletions

View file

@ -241,7 +241,8 @@ int Context::dispatch (std::string &out)
else if (cmd.command == "shell") { handleShell ( ); }
#endif
else if (cmd.command == "undo") { handleUndo ( ); }
else if (cmd.command == "_merge") { handleMerge (out); }
else if (cmd.command == "_merge") { tdb.gc ();
handleMerge (out); }
else if (cmd.command == "_projects") { rc = handleCompletionProjects (out); }
else if (cmd.command == "_tags") { rc = handleCompletionTags (out); }
else if (cmd.command == "_commands") { rc = handleCompletionCommands (out); }