/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: Jelmer Vernooij
  • Date: 2011-10-17 08:38:54 UTC
  • mto: This revision was merged to the branch mainline in revision 6219.
  • Revision ID: jelmer@samba.org-20111017083854-npl5l7lsf4op6try
Tweak error message.

Show diffs side-by-side

added added

removed removed

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