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

svntest: Adding --username and --password to run_svn()

From: Daniel Rall <dlr_at_finemaltcoding.com>
Date: 2007-09-13 20:54:06 CEST

On Sep 13, 2007, at 10:29 AM, Daniel Rall wrote:

>
> On Sep 12, 2007, at 10:48 PM, lgo@tigris.org wrote:
> ...
>> Fix random Windows buildbot errors: the tests currently cache the
>> credentials,
>> but when running the tests in parallel you can't rely on them
>> being the
>> credentials you expect. Solution is to always explicitly pass the
>> credentials
>> you want to use.
>>
>> * subversion/tests/cmdline/lock_tests.py
>> (commit_propchange): specify username and password for the commit.
>>
>>
>> Modified:
>> trunk/subversion/tests/cmdline/lock_tests.py
>>
>> Modified: trunk/subversion/tests/cmdline/lock_tests.py
>> URL: http://svn.collab.net/viewvc/svn/trunk/subversion/tests/
>> cmdline/lock_tests.py?pathrev=26574&r1=26573&r2=26574
>> =====================================================================
>> =========
>> --- trunk/subversion/tests/cmdline/lock_tests.py (original)
>> +++ trunk/subversion/tests/cmdline/lock_tests.py Wed Sep 12
>> 22:48:21 2007
>> @@ -181,7 +181,10 @@
>>
>> # make a property change and commit it, allowing lock to be
>> released
>> svntest.main.run_svn(None, 'propset', 'blue', 'azul', file_path)
>> - svntest.main.run_svn(None, 'commit', '-m', '', file_path)
>> + svntest.main.run_svn(None, 'commit',
>> + '--username', svntest.main.wc_author,
>> + '--password', svntest.main.wc_passwd,
>> + '-m', '', file_path)
> ...
>
> Is this necessary anywhere that we use run_svn()? I just added
> more usage of it to actions.py...

In r26582, I updated my recent changes with those arguments.
However, should we instead modify run_svn() to add them when they
aren't specified (or something of the kind)?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Sep 13 20:43:16 2007

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

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