From 12f46e7995b67135d74f1b9966622cbd54dccaf4 Mon Sep 17 00:00:00 2001
From: Gesner Passos <gesner.passos@stfc.ac.uk>
Date: Thu, 31 Jan 2013 10:57:53 +0000
Subject: [PATCH] Remove the double attempt to update the repository.

The update is done by the ScriptRepositoryView.

re #6175
---
 Code/Mantid/MantidQt/API/src/RepoModel.cpp | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/Code/Mantid/MantidQt/API/src/RepoModel.cpp b/Code/Mantid/MantidQt/API/src/RepoModel.cpp
index 579afe59d57..099a05b64ee 100644
--- a/Code/Mantid/MantidQt/API/src/RepoModel.cpp
+++ b/Code/Mantid/MantidQt/API/src/RepoModel.cpp
@@ -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;
 
-- 
GitLab