~abentley/bzrtools/bzrtools.dev

Viewing all changes in revision 0.1.47.

  • Committer: Michael Ellerman
  • Date: 2005-11-28 08:43:20 UTC
  • mto: (0.3.1 shelf-dev) (325.1.2 bzrtools)
  • mto: This revision was merged to the branch mainline in revision 334.
  • Revision ID: michael@ellerman.id.au-20051128084320-2e79db08986817c4
Refactored HunkSelector heavily to split out a UserInteractor class.

The UserInteractor knows nothing about hunks, or shelves, it just does an
interaction loop based on certain options through a list of items. For each
item it prompts and then calls a callback based on the user's choice.

This pretty much makes no user-visible change, but I haven't tested that
thoroughly - I really need to write tests for the interaction code.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: