diff --git a/src/plugins/coreplugin/vcsmanager.cpp b/src/plugins/coreplugin/vcsmanager.cpp index 74bb82ef0ac41172bbf2fbe84ae79c2f9ba47485..c99bd695833254d94507223ad1f415f4321aa532 100644 --- a/src/plugins/coreplugin/vcsmanager.cpp +++ b/src/plugins/coreplugin/vcsmanager.cpp @@ -44,12 +44,9 @@ #include <QtCore/QMap> #include <QtCore/QCoreApplication> -#include <QtCore/QDebug> #include <QtCore/QFileInfo> #include <QtGui/QMessageBox> -enum { debug = 0 }; - namespace Core { typedef QList<IVersionControl *> VersionControlList; @@ -115,7 +112,6 @@ public: { Q_ASSERT(directory.startsWith(topLevel)); - qDebug() << "New cache entries:" << vc->displayName() << topLevel << directory; VcsInfo *newInfo = new VcsInfo(vc, topLevel); bool createdNewInfo(true); // Do we have a matching VcsInfo already? @@ -178,11 +174,8 @@ IVersionControl* VcsManager::findVersionControlForDirectory(const QString &direc if (directory.isEmpty()) return 0; - qDebug() << "Searching Vcs for:" << directory; - VcsManagerPrivate::VcsInfo * cachedData = m_d->findUpInCache(directory); if (cachedData) { - qDebug() << "Found in Cache:" << cachedData->versionControl->displayName() << cachedData->topLevel; if (topLevelDirectory) *topLevelDirectory = cachedData->topLevel; return cachedData->versionControl;