Commit 5078b70d authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh
Browse files

ClearCase: Fix unreserved checkout

Task-number: QTCREATORBUG-12847
Change-Id: I8b42631adf62cd9b6afea619a17bf01a725a2968
Reviewed-by: default avatarTobias Hunger <>
parent 5e4f3a4f
......@@ -1599,9 +1599,11 @@ bool ClearCasePlugin::vcsOpen(const QString &workingDir, const QString &fileName
args << QLatin1String("-c") << comment;
args << QLatin1String("-query");
if (coDialog.isReserved())
const bool reserved = coDialog.isReserved();
const bool unreserved = !reserved || coDialog.isUnreserved();
if (reserved)
args << QLatin1String("-reserved");
if (coDialog.isUnreserved())
if (unreserved)
args << QLatin1String("-unreserved");
if (coDialog.isPreserveTime())
args << QLatin1String("-ptime");
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment