In the above example output I changed various private information to all capital letters to represent what was there including HTTPS-SVN-REPOSITORY-URL-HERE, THE-USERNAME-HERE, THE-PASSWORD-HERE, USERNAME-HERE, and the path to where the repository was being cloned.
In the output after the command was issued again the SVN URL is removed as well as the URL the SSL certificate was based upon.
When attempting to sync a repo to a server or to your desktop you will receive an error if the certificate being used to protect the HTTPS repository URL is not issued by the proper authority.
However, if the certificate is not trusted subversion will ask you whether you trust the certificate and if you want to add this certifacte.
svn info https://svn.codespot.com/a/eclipselabs.org/xtext-utils/subprojects/unittesting/branches Error validating server certificate for 'https://svn.codespot.com:443': - The certificate is not issued by a trusted authority.
If you receive an error similar to the above you simply need to permanently accept the certificate as shown below.
Make sure that you are familiar with the repository itself and you trust the people managing it before you start accepting certificates from unknown people.
Entering "t" at this point in svn2git doesn't help either, so it seems that svn2git isn't relaying the input back to git-svn either.
-----Original Message----- From: Kevin Menard [mailto:[email protected]] Sent: Monday, February 06, 2012 PM To: Stuart, Daniel Subject: Re: [svn2git] Hangs on "Error validating server certificate" (#51) Can you check what git-svn does here?
Notre réseau a détecté que vous êtes localisé en France.
Slashdot Media accorde de l’importance à la vie privée de nos utilisateurs.
We just wrap up git-svn, ultimately, and I'm guessing that's what's blocking for input. Here's what I'm trying: $ git svn clone https://myrepo [Accept certificate (p)ermanently when prompted] [wait for project to download] $ svn2git -v https://myrepo And svn2git still waits for my input, whether I'm in the same directory or not. For some reason on my computer once I answer the question once it doesn't ask me again. fatal: refs/remotes/svn/trunk: not a valid SHA1 update-ref refs/heads/master refs/remotes/svn/trunk: command returned error: 128 command failed: 2 I'm not sure there's a great fix for this other than detecting the prompt and passing through STDIN.
Maybe because I do the command in the same directory. svn2git eventually does fail for me though, but on an unrelated error: Auto packing the repository for optimum performance. If anyone knows of an argument to git that would skip certificate verification, that would be great.
Use svn list To Permanently Accept SVN Repository SSL Certificate: When accepting the certificate above I typed in a bogus username and password as the only purpose of the above was to permanently accept the SVN repo SSL certificate so I could clone the repo using the initial command without receiving a SSL certificate error.