# HG changeset patch # User Chris Cannam # Date 1341312508 -3600 # Node ID d35ed7488ccdd6946cb2aa6558812e317852ce51 # Parent 372b191247da54ab2aae3ddb63f704be5fe8a72f Show a visible error when trying to clone to a local folder that can't be created diff -r 372b191247da -r d35ed7488ccd src/mainwindow.cpp --- a/src/mainwindow.cpp Tue Jul 03 11:39:03 2012 +0100 +++ b/src/mainwindow.cpp Tue Jul 03 11:48:28 2012 +0100 @@ -1215,7 +1215,9 @@ if (!QDir().mkpath(m_workFolderPath)) { DEBUG << "hgCloneFromRemote: Failed to create target path " << m_workFolderPath << endl; - //!!! report error + QMessageBox::critical + (this, tr("Could not create target folder"), + tr("Could not create target folder

The local target folder \"%1\" does not exist
and could not be created.
").arg(xmlEncode(m_workFolderPath))); return; } }