bzr-svn doesn't check AuthenticationConfig for svn:// credentials

Bug #1076388 reported by Marcin Szałowicz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar Subversion Plugin
Triaged
Medium
Unassigned

Bug Description

when in authentication.conf i give port directive, bazar is not seeing the [section]

Running with authentication.conf as follows:

[something]
user=myUserName
password=XXXpassXXX
host=ip_svn
scheme=svn
port=3690

Bazaar does not match the section and tries to prompt for the password:

0.065 bazaar version: 2.5.1
0.066 bzr arguments: [u'branch', u'svn://svn_ip/php/project_test/trunk']
0.075 looking for plugins in /home/marcin/.bazaar/plugins
0.075 looking for plugins in /usr/lib/python2.7/dist-packages/bzrlib/plugins
0.108 encoding stdout as sys.stdout encoding 'UTF-8'
0.475 Obtaining username and password for SVN connection '<svn://ip_svn:3690> xxxxxx-xxxx-xxxx-xxxx-xxxxxxxx'(username: 'myUserName')

Revision history for this message
Martin Packman (gz) wrote : Re: authentication.conf section does not match when port is given

Hm, it looks like when you ran the command, you didn't use svn://svn_ip:3690/php/project_test/trunk which perhaps would have matched?

description: updated
summary: - bzr-svn authentication.conf is not readed when port directive is given
+ authentication.conf section does not match when port is given
affects: bzr-svn → bzr
Revision history for this message
Vincent Ladeuil (vila) wrote :

It's up to bzr-svn to query auth.conf for the 'svn' scheme, but jelmer mentioned on IRC that it's unlikely to be the case.

affects: bzr → bzr-svn
Jelmer Vernooij (jelmer)
Changed in bzr-svn:
importance: Undecided → Medium
status: New → Triaged
summary: - authentication.conf section does not match when port is given
+ bzr-svn doesn't check AuthenticationConfig for svn:// credentials
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.