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

Calling svn log from a program with username and password (OSX)

From: OmarShariffDoneLikeIt <omarshariffdontlikeit_at_gmail.com>
Date: Thu, 30 Sep 2010 01:40:18 -0700 (PDT)

Hi all,

I'm writing a program that processes the XML results of svn log. After
following a bug, I found that on OSX the following example would fail to use
the specified username and password:

ben> svn log --username someoneelse --password secret
ssh+svn://myserver.com/repo/trunk -r 1 -v --xml
ben_at_myserver.com password:

Notice that is is using the current shell user name and not the username
provided in the command arguments, nor the password.

So my question(s) are:

- Is anyone aware of any reasons why svn log would ignore the --username and
--password arguments. If so, what are these conditions? I can't find any
documentation that suggests that they would be ignored under any
circumstances.

- Is anyone aware of this issue at all? Is this an OSX only issue? If so,
anyone aware of a work around?

- If this is a potentially problemeatic way of calling svn log, does anyone
know of a better way of getting the xml results of svn log whilst providing
the url, username and password?

Thanks for your help.

Cheers,

Ben

-- 
View this message in context: http://old.nabble.com/Calling-svn-log-from-a-program-with-username-and-password-%28OSX%29-tp29846163p29846163.html
Sent from the Subversion Users mailing list archive at Nabble.com.
Received on 2010-09-30 10:41:00 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.