/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-06-07 16:47:54 UTC
  • mfrom: (1185.82.142 w-changeset)
  • Revision ID: pqm@pqm.ubuntu.com-20060607164754-f5a93b47d5650c8c
Produce better errors for malformed bundles

Show diffs side-by-side

added added

removed removed

Lines of Context:
938
938
        self.measured = measured
939
939
 
940
940
 
 
941
class NotABundle(BzrNewError):
 
942
    """Not a bzr revision-bundle: %(text)r"""
 
943
 
 
944
    def __init__(self, text):
 
945
        self.text = text
 
946
 
 
947
 
941
948
class BadBundle(Exception): pass
942
949
 
943
950