[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Using http:// URL that contains a username

From: <petesea_at_bigfoot.com>
Date: Tue, 07 Apr 2009 15:10:22 -0700 (PDT)

Does SVN support the use of a username within an https:// URL?

In other words, say I'm logged into a workstation with the username "bozo"
and I run the following command:

   $ svn info svn+ssh://bclown@svn.example.com/repo

It works fine. I can contact the SVN server as "bclown", which is my
username on that server. But, if I try to contact the server using
https:// instead of svn+ssh://...

   $ svn info https://bclown@svn.example.com/repo

I get prompted for the password for user "bozo"... NOT user "bclown", eg:

   $ svn info https://bclown@svn.example.com/repo
   Authentication realm: <https://svn.example.com:443> Example Repo
   Password for 'bozo':

I realize I can use the --username option, but --username doesn't work
with svn+ssh://, which means I need to use 2 different methods to specify
the username.

Is there a particular reason svn doesn't support a username as part of the
URL with https:// or is there something wrong with my Apache setup which
is preventing it from working?

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1584520

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-04-08 00:24:01 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.