~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/shelf_ui.py

  • Committer: Benoît Pierre
  • Date: 2011-10-05 18:40:53 UTC
  • mto: This revision was merged to the branch mainline in revision 6215.
  • Revision ID: benoit.pierre@gmail.com-20111005184053-xwff0wwnq11hjkca
Rename ui.confirm to ui.choose.

Show diffs side-by-side

added added

removed removed

Lines of Context:
253
253
        return patches.parse_patch(diff_file)
254
254
 
255
255
    def prompt(self, message, choices, default):
256
 
        return ui.ui_factory.confirm(message, choices, default=default)
 
256
        return ui.ui_factory.choose(message, choices, default=default)
257
257
 
258
258
    def prompt_bool(self, question, allow_editor=False):
259
259
        """Prompt the user with a yes/no question.