Skip to content
Snippets Groups Projects
Commit 12f46e79 authored by Gesner Passos's avatar Gesner Passos
Browse files

Remove the double attempt to update the repository.

The update is done by the ScriptRepositoryView.

re #6175
parent f35ae291
No related branches found
No related tags found
No related merge requests found
......@@ -506,11 +506,6 @@ void RepoModel::setupModelData(RepoItem *parent)
repo_ptr = ScriptRepositoryFactory::Instance().create("GitScriptRepository");
QStringList lines;
repo_ptr->listFiles();
try{
repo_ptr->update();
}catch (Mantid::API::ScriptRepoException & ex){
qWarning() << "Updating Failed: " << ex.what() << endl;
}
const std::vector<ScriptRepository::file_entry> & entries = repo_ptr->listEntries();
QList<RepoItem*> parents;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment