3

For any push/pull operation on a https+webdav Bazaar repository, bzr asks for my password. Can bazaar remember the password using https+webdav without putting it in the repo URL (similarly to git)?

Community
  • 1
  • 1
Martin Monperrus
  • 1,589
  • 1
  • 17
  • 24

1 Answers1

3

authentication.conf (see also the developer documentation) allows you to configure a password for a particular host.

authentication.conf looks like this:

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

The password may also be specified in netrc:

[webdav.foo.fr]
scheme=https
host=webdav.foo.fr
user=monperrus
password_encoding=netrc
Martin Monperrus
  • 1,589
  • 1
  • 17
  • 24
dOxxx
  • 1,541
  • 12
  • 27