~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: Aaron Bentley
  • Date: 2006-05-30 15:18:12 UTC
  • mto: This revision was merged to the branch mainline in revision 1738.
  • Revision ID: abentley@panoramicfeedback.com-20060530151812-0e3e9b78cc15a804
Rename changesets to revision bundles

Show diffs side-by-side

added added

removed removed

Lines of Context:
747
747
    """
748
748
 
749
749
 
750
 
class NoChangesetFound(BzrNewError):
751
 
    """No changeset was found in %(filename)s"""
 
750
class NoBundleFound(BzrNewError):
 
751
    """No bundle was found in %(filename)s"""
752
752
    def __init__(self, filename):
753
753
        BzrNewError.__init__(self)
754
754
        self.filename = filename
755
755
 
756
756
 
757
 
class ChangesetNotSupported(BzrNewError):
758
 
    """Unable to handle changeset version %(version)s: %(msg)s"""
 
757
class BundleNotSupported(BzrNewError):
 
758
    """Unable to handle bundle version %(version)s: %(msg)s"""
759
759
    def __init__(self, version, msg):
760
760
        BzrNewError.__init__(self)
761
761
        self.version = version