Prompted for password for svn:// repository during bzr update/commit?

Asked by Michael Chang

I've noticed that I am always prompted for my username and password when accessing my svn repository (which was created using bzr co svn://...).

I was wondering if there was a way to check if the username and password is being stored, and if not, how to fix it.

I'm using the Ubuntu Karmic (9.10) Beta's version of bzr and bzr-svn.

michael@michael-lpc:~/se101/lego$ bzr --version
Bazaar (bzr) 2.0.0
  Python interpreter: /usr/bin/python 2.6.3
  Python standard library: /usr/lib/python2.6
  Platform: Linux-2.6.31-11-generic-i686-with-Ubuntu-9.10-karmic
  bzrlib: /usr/lib/python2.6/dist-packages/bzrlib
  Bazaar configuration: /home/michael/.bazaar
  Bazaar log file: /home/michael/.bzr.log

Copyright 2005, 2006, 2007, 2008, 2009 Canonical Ltd.
http://bazaar-vcs.org/

bzr comes with ABSOLUTELY NO WARRANTY. bzr is free software, and
you may use, modify and redistribute it under the terms of the GNU
General Public License version 2 or later.

michael@michael-lpc:~/se101/lego$ dpkg -l 'bzr-svn'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Description
+++-======================================-======================================-============================================================================================
ii bzr-svn 1.0.0~bzr3160-1 Bazaar plugin providing Subversion integration

Question information

Language:
English Edit question
Status:
Solved
For:
Bazaar Subversion Plugin Edit question
Assignee:
No assignee Edit question
Solved by:
Jelmer Vernooij
Solved:
Last query:
Last reply:
Revision history for this message
Best Jelmer Vernooij (jelmer) said :
#1

Hi Michael,

On Thu, Oct 08, 2009 at 03:54:29AM -0000, Michael Chang wrote:
> I've noticed that I am always prompted for my username and password when accessing my svn repository (which was created using bzr co svn://...).

> I was wondering if there was a way to check if the username and password is being stored, and if not, how to fix it.

bzr-svn (or Bazaar itself) will never cache your password. You can
explicitly store it in authentication.conf though, and bzr-svn can use
any credentials that the "svn" command-line tool has cached in the
past.

Cheers,

Jelmer

Revision history for this message
Michael Chang (thenewme91) said :
#2

Thanks Jelmer Vernooij, that solved my question.