开发者

Branch project not need type password in Bazaar

开发者 https://www.devze.com 2023-03-25 18:02 出处:网络
In server1, I branch 1 project version control which belong to server2. The command like: $ bzr branch \"sftp://[USERNAME]:[PAS开发者_运维技巧SWORD]@[HOST]/PATH/OF/PROJECT\"

In server1, I branch 1 project version control which belong to server2. The command like:

$ bzr branch "sftp://[USERNAME]:[PAS开发者_运维技巧SWORD]@[HOST]/PATH/OF/PROJECT"

The command execute and require password to execute continue (although I have already put PASSWORD in command):

[USERNAME]@[HOST]'s password: <I type PASSWORD of USERNAME in here to continue>
Branched 2 revision(s).

The command execute successfully. But I don't want to type PASSWORD, because I will execute this command in PHP and I don't know how to type PASSWORD when command execute.

Are there any way/idea to do this?

Thanks :)


You can configure that in ~/.bazaar/authentication.conf.

0

精彩评论

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