3

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

4

1 回答 1

3

authentication.conf(另请参阅开发人员文档)允许您为特定主机配置密码。

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
于 2012-09-05T18:03:15.897 回答