Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Lay2013-10-30 17:24:56 +0000
committerRobin Stocker2013-11-02 22:01:02 +0000
commita17b66a9aadd63e80d9d42fd80fabe6c17c886eb (patch)
tree9f398b132b93a86ca0791047484b097cf4f74ee0 /org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/uitext.properties
parentdb74a44d03d182cf7b82d5abcaad336fbc20210f (diff)
downloadegit-a17b66a9aadd63e80d9d42fd80fabe6c17c886eb.tar.gz
egit-a17b66a9aadd63e80d9d42fd80fabe6c17c886eb.tar.xz
egit-a17b66a9aadd63e80d9d42fd80fabe6c17c886eb.zip
Fix misleading error message in clone wizard
When a remote repository could not be reached there was a dialog which only described some of the possible scenarios. Moreover, it always proposed to look at the ssh preferences, even if ssh was not used. We now give more explanation about possible failures. Possible errors in case of ssh or https are only shown when these protocols are used. The Exception was not logged, this is fixed now as well. In further change we could also react on the concrete type of the Exception thrown inside JGit. E.g., an org.eclipse.jgit.errors.NoRemoteRepositoryException would indicate that there is no network problem but a wrong repository path. Bug: 420703 Change-Id: Ia162aa0485496b8e4306a941ad1318a5db4422f2 Signed-off-by: Stefan Lay <stefan.lay@sap.com> Signed-off-by: Robin Stocker <robin@nibor.org>
Diffstat (limited to 'org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/uitext.properties')
-rw-r--r--org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/uitext.properties5
1 files changed, 4 insertions, 1 deletions
diff --git a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/uitext.properties b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/uitext.properties
index 715911087b..8345f8afbe 100644
--- a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/uitext.properties
+++ b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/uitext.properties
@@ -1674,7 +1674,10 @@ SynchronizeCommand_jobName=Synchronizing {0} ...
CloneFailureDialog_tile=Transport Error
CloneFailureDialog_dontShowAgain=Don't show this dialog again
-CloneFailureDialog_checkList={0}\n\nPlease check:\nNetwork Connection settings\nNetwork Connection -> SSH2 Eclipse preferences\n\nYou may also need to restart Eclipse after making changes in preferences.
+CloneFailureDialog_checkList=An error occurred when trying to contact {0}.\nSee the Error Log for more details\n\nPossible reasons:\nIncorrect URL\nNo network connection (e.g. wrong proxy settings)
+CloneFailureDialog_checkList_git=\n.git is missing at end of repository URL
+CloneFailureDialog_checkList_ssh=\nSSH is not configured correctly (see Eclipse preferences > Network Connections > SSH2)
+CloneFailureDialog_checkList_https=\nSSL host could not be verified (set http.sslVerify=false in Git configuration)
GarbageCollectCommand_jobTitle=Collect garbage in {0}
GarbageCollectCommand_failed=Garbage collection in repository {0} failed

Back to the top