-=[ Mr. Bumblebee ]=-
_Indonesia_
u_Oc @ s d d l m Z m Z d d l m Z d d l m Z d d d g Z d d d d d g Z d d d
d g Z d d d g Z
d d d d g Z d d d g Z d e j
f d
YZ d e j f d YZ d S( i( t merget tests( t test_merge_core( t changelog_merges
Base entry B1s
Base entry B2s
Base entry B3s
This entry T1s
This entry T2s Other entry O1s Base entry B2 updateds Base entry B1 editt TestMergeCoreLogicc B s5 e Z d Z d Z d Z d Z d Z RS( c C sS d g } d d g } d d g } t j | | | } | j d d d g | d S( s& Changes at the top of 'other' float to the top.
Given a changelog in THIS containing::
NEW-1
OLD-1
and a changelog in OTHER containing::
NEW-2
OLD-1
it will merge as::
NEW-2
NEW-1
OLD-1
s OLD-1s NEW-1s NEW-2N( R t
merge_entriest assertEqual( t selft base_entriest this_entriest
other_entriest result_entries( ( s] /usr/lib/python2.7/dist-packages/bzrlib/plugins/changelog_merge/tests/test_changelog_merge.pyt test_new_in_other_floats_to_topI s c C sA t j t t t } | j d d d d d d g t | d S( s Merging a branch that:
1. adds a new entry, and
2. edits an old entry (e.g. to fix a typo or twiddle formatting)
will:
1. add the new entry to the top
2. keep the edit, without duplicating the edited entry or moving it.
s Other entry O1s
This entry T1s
This entry T2s
Base entry B1s Base entry B2 updateds
Base entry B3N( R R t sample_base_entriest sample_this_entriest sample_other_entriesR t list( R R ( ( s] /usr/lib/python2.7/dist-packages/bzrlib/plugins/changelog_merge/tests/test_changelog_merge.pyt test_acceptance_bug_723968d s c C sM d } t j t t t d | } | j d d d d d g t | d S( s Like test_acceptance_bug_723968, but with a more difficult conflict:
the new entry and the edited entry are adjacent.
c S s t j | | d d S( Nt entry_as_strc S s | S( N( ( t x( ( s] /usr/lib/python2.7/dist-packages/bzrlib/plugins/changelog_merge/tests/test_changelog_merge.pyt <lambda>