~bzr-pqm/bzr/bzr.dev

Viewing all changes in revision 4597.10.1.

  • Committer: Vincent Ladeuil
  • Date: 2010-03-12 10:49:25 UTC
  • mto: This revision was merged to the branch mainline in revision 5135.
  • Revision ID: v.ladeuil+lp@free.fr-20100312104925-q3bcsdoy0512cmrw
Refactor to better handle various conflict types.

* bzrlib/tests/test_conflicts.py:
(TestParametrizedResolveConflicts): Use _this_args and _other_args
since different conflicts have different needs. Also get rid of
_item_id and _item_path. Finally move all helpers to the relevant
test conflict classes. All daughter classes now define their own
semantic for the arguments associated with actions and implement
the necessary hooks/specializations where relevant.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: