~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/shelf.py

  • Committer: Aaron Bentley
  • Date: 2009-08-12 21:53:52 UTC
  • mto: This revision was merged to the branch mainline in revision 4630.
  • Revision ID: aaron@aaronbentley.com-20090812215352-1zdajlod1xhb0lfl
Implement shelve_all

Show diffs side-by-side

added added

removed removed

Lines of Context:
111
111
        else:
112
112
            raise ValueError('Unknown change kind: "%s"' % change[0])
113
113
 
 
114
    def shelve_all(self):
 
115
        """Shelve all changes."""
 
116
        for change in self.iter_shelvable():
 
117
            self.shelve_change(change)
 
118
 
114
119
    def shelve_rename(self, file_id):
115
120
        """Shelve a file rename.
116
121