bazaar可以使用协议https + webdav记住密码吗?

时间:2012-09-05 10:47:43

标签: bazaar

对于https + webdav Bazaar存储库上的任何推/拉操作,bzr会询问我的密码。 bazaar可以使用https + webdav记住密码而不将其放入repo URL(类似于git)吗?

1 个答案:

答案 0 :(得分:3)

authentication.conf(另请参阅the developer documentation)允许您为特定主机配置密码。

authentication.conf看起来像这样:

[webdav.foo.fr]
scheme=https # https even if the repo URL is https+webdav
host=webdav.foo.fr
user=monperrus
password=sdfozaekjh

密码也可以在netrc中指定:

[webdav.foo.fr]
scheme=https
host=webdav.foo.fr
user=monperrus
password_encoding=netrc