Error Message 'Username Use of uninitialized value username in chomp' Due to System Git

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

症状

When using the system provided git rather than the SourceTree embedded git with an HTTS Subversion URL, the following error is thrown:

Authentication realm: <https://hostname:443> Subversion access check Username: Use of uninitialized value $username in chomp at /usr/local/git/libexec/git-core/git-svn line 3997

原因

The standard git-svn is not capable of authenticating using the Keychain on Mac OS X, even though the default Subversion configuration is to use this method of storing passwords. 

回避策

  1. Use the embedded SourceTree version of git (see Preferences > Git). Or
  2. Modify the system git like this:
diff --git a/git-svn b/git-svn 
index 0fd2fd2..3f7c3c8 100755 
--- a/git-svn 
+++ b/git-svn 
@@ -4930,6 +4930,9 @@ BEGIN { 
 sub _auth_providers () { 
 [ 
+ $SVN::Core::VERSION lt '1.6' ? () : 
+ @{SVN::Core::auth_get_platform_specific_client_providers( 
+ undef,undef)}, 
 SVN::Client::get_simple_provider(), 
 SVN::Client::get_ssl_server_trust_file_provider(), 
 SVN::Client::get_simple_prompt_provider(
 

(info) This is a text Perl file

Help us improve!

Unknown macro: {kbsurvey}
Last modified on Mar 30, 2016

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.