~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/bundle/commands.py

  • Committer: Martin Pool
  • Date: 2008-02-13 01:31:33 UTC
  • mto: (3221.6.1 1.2)
  • mto: This revision was merged to the branch mainline in revision 3222.
  • Revision ID: mbp@sourcefrog.net-20080213013133-x41bshcx7i5ozpo1
Better error message from bundle-info

Show diffs side-by-side

added added

removed removed

Lines of Context:
59
59
            bundle_info = read_bundle(bundle_file)
60
60
        else:
61
61
            if verbose:
62
 
                raise errors.BzrCommandError('Verbose requires a merge'
63
 
                                             ' directive')
 
62
                raise errors.BzrCommandError('--verbose requires a merge'
 
63
                    ' directive')
64
64
        reader_method = getattr(bundle_info, 'get_bundle_reader', None)
65
65
        if reader_method is None:
66
66
            raise errors.BzrCommandError('Bundle format not supported')