开发者

BASH script to handle "authentication realm"

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜