"David Glasser" <glasser@mit.edu> writes:
> On 5/25/07, Jeremy Whitlock <jcscoobyrs@gmail.com> wrote:
>> + # Create expected disk tree for the update.
>> + expected_disk = svntest.main.greek_state.copy()
>> + expected_disk.tweak('A/mu', contents="""This is the file 'mu'.
>> +<<<<<<< .mine
>> +Conflicting appended text for mu
>> +=======
>> +Original appended text for mu
>> +>>>>>>> .r2
>> +""")
>
> Hmm, you might want to avoid putting literal conflict markers into the
> test; it could get confusing!
>
> Perhaps just use a series of "double-quoted"+"added together" strings
> with proper indentation instead of triple-quoted strings?
Really? I have to admit, I find the one-big-string approach easier
for blocks of text like that...
http://pink.bikeshed.com/
:-)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon May 28 20:06:06 2007