开发者

BASH script to handle "authentication realm"

开发者 https://www.devze.com 2023-03-25 21:25 出处:网络
I have multiple SVN repositories which I intend to synchronize with other SVN server each night using svnsync like this:

I have multiple SVN repositories which I intend to synchronize with other SVN server each night using svnsync like this:

svnsync synchronize --source-username my_server_user_name --source-password ... --sync-username dest_server_user_name --sync-password ... svn://dest_svn_server/svn/[repository_name]

But it fails with "Authentication realm" error and asks to enter login-password - when I enter dest_server_user_name-password again - it su开发者_Go百科cceeds.

Is there a way to do it automatically somehow?

Thank you.


I found two ways to fix it: 1. Run svnsync with --non-interactive flag 2. Set property store-plaintext-passwords to yes within file ~/.subversion/servers

0

精彩评论

暂无评论...
验证码 换一张
取 消