/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: Martin Pool
  • Date: 2008-07-14 07:47:45 UTC
  • mfrom: (3536 +trunk)
  • mto: This revision was merged to the branch mainline in revision 3537.
  • Revision ID: mbp@sourcefrog.net-20080714074745-ow7wqktgjbn6xb6q
merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
848
848
        BzrError.__init__(self, filename=filename, kind=kind)
849
849
 
850
850
 
 
851
class BadFilenameEncoding(BzrError):
 
852
 
 
853
    _fmt = ('Filename %(filename)r is not valid in your current filesystem'
 
854
            ' encoding %(fs_encoding)s')
 
855
 
 
856
    def __init__(self, filename, fs_encoding):
 
857
        BzrError.__init__(self)
 
858
        self.filename = filename
 
859
        self.fs_encoding = fs_encoding
 
860
 
 
861
 
851
862
class ForbiddenControlFileError(BzrError):
852
863
 
853
864
    _fmt = 'Cannot operate on "%(filename)s" because it is a control file'