/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: John Arbash Meinel
  • Date: 2006-08-30 13:40:47 UTC
  • mfrom: (1973 +trunk)
  • mto: (1955.2.7 locale-35392)
  • mto: This revision was merged to the branch mainline in revision 1974.
  • Revision ID: john@arbash-meinel.com-20060830134047-ab74b254ec5ca502
[merge] bzr.dev 1973

Show diffs side-by-side

added added

removed removed

Lines of Context:
166
166
 
167
167
class InvalidRevisionId(BzrNewError):
168
168
    """Invalid revision-id {%(revision_id)s} in %(branch)s"""
 
169
 
169
170
    def __init__(self, revision_id, branch):
170
171
        # branch can be any string or object with __str__ defined
171
172
        BzrNewError.__init__(self)
1106
1107
        BzrNewError.__init__(self)
1107
1108
        self.text = text
1108
1109
 
 
1110
 
1109
1111
class UnsupportedEOLMarker(BadBundle):
1110
1112
    """End of line marker was not \\n in bzr revision-bundle"""    
1111
1113
 
1112
1114
    def __init__(self):
1113
 
        BzrNewError.__init__(self)    
 
1115
        BzrNewError.__init__(self)
 
1116
 
 
1117
 
 
1118
class UnknownSSH(BzrNewError):
 
1119
    """Unrecognised value for BZR_SSH environment variable: %(vendor)s"""
 
1120
 
 
1121
    def __init__(self, vendor):
 
1122
        BzrNewError.__init__(self)
 
1123
        self.vendor = vendor
 
1124
 
 
1125
 
 
1126
class GhostRevisionUnusableHere(BzrNewError):
 
1127
    """Ghost revision {%(revision_id)s} cannot be used here."""
 
1128
 
 
1129
    def __init__(self, revision_id):
 
1130
        BzrNewError.__init__(self)
 
1131
        self.revision_id = revision_id