~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to shelf_ui.py

  • Committer: Aaron Bentley
  • Date: 2008-10-09 12:48:40 UTC
  • mto: This revision was merged to the branch mainline in revision 3823.
  • Revision ID: aaron@aaronbentley.com-20081009124840-toplz93w1yhxn33y
Better prompts on add/delete

Show diffs side-by-side

added added

removed removed

Lines of Context:
68
68
                    changes_shelved += self.handle_modify_text(creator,
69
69
                                                               change[1])
70
70
                if change[0] == 'add file':
71
 
                    if self.prompt_bool('Shelve adding file?'):
 
71
                    if self.prompt_bool('Shelve adding file "%s"?'
 
72
                                        % change[3]):
72
73
                        creator.shelve_creation(change[1])
73
74
                        changes_shelved += 1
74
75
                if change[0] == 'delete file':
75
 
                    if self.prompt_bool('Shelve deleting file?'):
 
76
                    if self.prompt_bool('Shelve removing file "%s"? '
 
77
                                        % change[3]):
76
78
                        creator.shelve_deletion(change[1])
77
79
                        changes_shelved += 1
78
80
                if change[0] == 'rename':