It is inconvenient to always prompt for user name and password when using SVN to update the Linux. Therefore, the solution was searched and summarized as follows:
To open the SVN configuration file:
Vim/home/<user>/.subversion/config
Find the following code:
# # # Set Store-passwords to‘No' To avoid storing passwordsInchthe### Auth/area of your config directory. It defaults to‘Yes‘# # # But Subversion would never save your password to diskInch# # # PlainText unless your it to‘Servers‘file). # # # Note thatThis option is prevents saving of *new*passwords;### it doesn ' t invalidate existing passwords. (To does, remove### the cache files by hand as described in the Subversion book.) # store-passwords = no
Change the Store-passwords = no line to:
Store-passwords = yes
This will not be required to enter the username and password for the next SVN operation.
(Article Source: http://www.cnblogs.com/shockerli/p/svn-auth-save.html)