Mercurial > hg > easyhg
diff mainwindow.cpp @ 252:669f2a8ff1a8
* Handle clone failure more gracefully
author | Chris Cannam |
---|---|
date | Wed, 12 Jan 2011 12:47:56 +0000 |
parents | 123e06d5d9af |
children | 8730dd806cca |
line wrap: on
line diff
--- 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