Translate

[Git] git-svn 사용 시 Unable to locate auth file at ~SVN.pm line 148 에러





git => svn migration 하려던중 아래와 같이 에러가 발생했다.




C:\>git svn clone {_SVN_URL_} --prefix=svn/ --no-metadata c:\project
Initialized empty Git repository in C:/project/.git/
Error validating server certificate for 'https://{_IP_}':
 - The certificate is not issued by a trusted authority. Use the
   fingerprint to validate the certificate manually!
 - The certificate hostname does not match.
Certificate information:
 - Hostname: {_HOSTNAME_}
 - Valid: from Oct  6 07:41:02 2016 GMT until Oct  4 07:41:02 2026 GMT
 - Issuer: {_HOSTNAME_}
 - Fingerprint: FA:05:F8:40:89:8E:CC:7F:F5:D2:67:43
Certificate problem.
(R)eject, accept (t)emporarily or accept (p)ermanently? p
Can't create session: Unable to connect to a repository at URL '{_SVN_URL_}': Unable to locate auth file at /mingw64/share/perl5/site_perl/Git/SVN.pm line 148.

C:\>








이것저것 하다가 해결을 못하고 혹시나 싶어 git Bash 에서 한번 수행을 해보니 문제없이 작동이 되었다.





1004lucifer@1004lucifer-iotree MINGW64 ~
$ git svn clone https://URL --prefix=svn/ --no-metadata c:\project
Initialized empty Git repository in C:/Users/1004lucifer/project/.git/
Error validating server certificate for 'https://{_SVN_URL_}':
 - The certificate is not issued by a trusted authority. Use the
   fingerprint to validate the certificate manually!
 - The certificate hostname does not match.
Certificate information:
 - Hostname: {_HOSTNAME_}
 - Valid: from Oct  6 07:41:02 2016 GMT until Oct  4 07:41:02 2026 GMT
 - Issuer: {_HOSTNAME_}
 - Fingerprint: FA:05:F8:40:89:8E:CC:7F:F5:D2:67:43:63
Authentication realm: <https://{_SVN_URL_}> VisualSVN Server
r21 = 9507253bb40206f25e9a229ad86da59427202afc (refs/remotes/svn/git-svn)
        A       .angular-cli.json
        A       .classpath
        A       .editorconfig
        A       .gitattributes
        A       .gitignore
        A       .project
        A       .yo-rc.json
        A       README.md
        A       build.gradle




댓글