开发者

Branch project not need type password in Bazaar

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜