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

Re: svn commit: r18648 - trunk/contrib/client-side

From: Giovanni Bajo <rasky_at_develer.com>
Date: 2006-03-01 02:50:20 CET

David James <djames@collab.net> wrote:

>>> * contrib/client-side/svnmerge.py
>>> (main): Don't reuse the same options for multiple runs of
>>> svnmerge.main() within the test suite. Instead, re-initialize our
>>> options from a clean copy of the options dictionary every time
>>> svnmerge.main() is called.
>>
>> You didn't say why it is needed. I thought I had made sure it wasn't
>> needed.
>
> Strictly speaking, we don't need to have a clean copy of the options
> dictionary for each run of svnmerge.main(). However, if we reuse the
> same options dictionary, then it is possible that a run of
> svnmerge.main() will accidentally reuse values from a previous run of
> svnmerge.

Ah yes sorry, I had misread your patch. It makes perfect sense and I'm actually
surprised we hadn't accidentally triggered this before in the testsuite. Many
thanks for the patch!

Giovanni Bajo

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Mar 1 02:53:41 2006

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.