# HG changeset patch # User Chris Cannam # Date 1294836476 0 # Node ID 669f2a8ff1a86109aeb35282971c5ed38d42fdc0 # Parent be483734bde51575674f68b7cd802cb1e648c565 * Handle clone failure more gracefully diff -r be483734bde5 -r 669f2a8ff1a8 mainwindow.cpp --- a/mainwindow.cpp Tue Jan 11 17:58:14 2011 +0000 +++ b/mainwindow.cpp Wed Jan 12 12:47:56 2011 +0000 @@ -1684,6 +1684,11 @@ output)); settings(); return; + case ACT_CLONEFROMREMOTE: + // if clone fails, we have no repo + workFolderPath = ""; + enableDisableActions(); + break; case ACT_INCOMING: // returns non-zero code and no output if the check was // successful but there are no changes pending