forked from qt-creator/qt-creator
ClearCase: Avoid running cleartool if it is not available
Also change isConfigured to use a plain QFileInfo like other VCS Change-Id: I253d9a7d356a042dbc6c15236d77799b794f29d4 Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
This commit is contained in:
committed by
Tobias Hunger
parent
20fe4725fb
commit
f777930a30
@@ -212,7 +212,7 @@ QString ClearCasePlugin::findTopLevel(const QString &directory) const
|
||||
// Snapshot view
|
||||
QString topLevel =
|
||||
findRepositoryForDirectory(directory, QLatin1String(ClearCase::Constants::CLEARCASE_ROOT_FILE));
|
||||
if (!topLevel.isEmpty())
|
||||
if (!topLevel.isEmpty() || !clearCaseControl()->isConfigured())
|
||||
return topLevel;
|
||||
// Dynamic view
|
||||
bool isDynamic;
|
||||
|
||||
Reference in New Issue
Block a user