/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

Rather than falling over when the page size is to small, just increase it and try again.

Show diffs side-by-side

added added

removed removed

Lines of Context:
163
163
    _fmt = "The tree builder is already building a tree."
164
164
 
165
165
 
166
 
class BisectPageSizeTooSmall(BzrError):
167
 
 
168
 
    _fmt = ("The dirstate bisect page size %(size)s is too small."
169
 
            " We were unable to read an entire record.")
170
 
 
171
 
    internal_error = True
172
 
 
173
 
    def __init__(self, size):
174
 
        BzrError.__init__(self)
175
 
        self.size = size
176
 
 
177
 
 
178
166
class BzrCheckError(BzrError):
179
167
    
180
168
    _fmt = "Internal check failed: %(message)s"