~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/shelf_ui.py

  • Committer: Aaron Bentley
  • Date: 2009-07-12 05:32:03 UTC
  • mto: This revision was merged to the branch mainline in revision 4534.
  • Revision ID: aaron@aaronbentley.com-20090712053203-ozc87vepn8mls8e6
Remove changes_destroyed message.

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
    def shelved_id(self, shelf_id):
47
47
        trace.note('Changes shelved with id "%d".' % shelf_id)
48
48
 
 
49
    def changes_destroyed(self):
 
50
        trace.note('Selected changes destroyed.')
 
51
 
49
52
    def selected_changes(self, transform):
50
53
        trace.note("Selected changes:")
51
54
        changes = transform.iter_changes()
52
55
        delta.report_changes(changes, self.delta_reporter)
53
56
 
54
57
 
 
58
class ApplyReporter(ShelfReporter):
 
59
 
 
60
    def changes_destroyed(self):
 
61
        pass
 
62
 
 
63
 
55
64
class Shelver(object):
56
65
    """Interactively shelve the changes in a working tree."""
57
66
 
162
171
                    % changes_shelved)):
163
172
                    if self.destroy:
164
173
                        creator.transform()
165
 
                        trace.note('Selected changes destroyed.')
 
174
                        self.reporter.changes_destroyed()
166
175
                    else:
167
176
                        shelf_id = self.manager.shelve_changes(creator,
168
177
                                                               self.message)