~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/builtins.py

  • Committer: Aaron Bentley
  • Date: 2008-11-03 21:52:46 UTC
  • mto: This revision was merged to the branch mainline in revision 3823.
  • Revision ID: aaron@aaronbentley.com-20081103215246-xcpvqnno9d1lhmz4
raise UserAbort instead of doing sys.exit

Show diffs side-by-side

added added

removed removed

Lines of Context:
4762
4762
 
4763
4763
    def run(self, revision=None, all=False, file_list=None, message=None):
4764
4764
        from bzrlib.shelf_ui import Shelver
4765
 
        Shelver.from_args(revision, all, file_list, message).run()
 
4765
        try:
 
4766
            Shelver.from_args(revision, all, file_list, message).run()
 
4767
        except errors.UserAbort:
 
4768
            return 0
4766
4769
 
4767
4770
 
4768
4771
class cmd_unshelve(Command):