~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

(jelmer) Allow tree implementations to not support kind changes.
 (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
3355
3355
    def __init__(self, method, arguments):
3356
3356
        self.method = method
3357
3357
        self.arguments = arguments
 
3358
 
 
3359
 
 
3360
class UnsupportedKindChange(BzrError):
 
3361
 
 
3362
    _fmt = ("Kind change from %(from_kind)s to %(to_kind)s for "
 
3363
            "%(path)s not supported by format %(format)r")
 
3364
 
 
3365
    def __init__(self, path, from_kind, to_kind, format):
 
3366
        self.path = path
 
3367
        self.from_kind = from_kind
 
3368
        self.to_kind = to_kind
 
3369
        self.format = format