/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

(robertc) Add WorkingTree parent-management apis - set_parent_trees, set_parent_ids, add_parent_tree, add_parent_tree_id.

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)
1114
1116
 
1115
1117
 
1116
1118
class UnknownSSH(BzrNewError):
1120
1122
        BzrNewError.__init__(self)
1121
1123
        self.vendor = vendor
1122
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