/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 breezy/errors.py

  • Committer: Jelmer Vernooij
  • Date: 2017-07-23 18:56:16 UTC
  • mto: This revision was merged to the branch mainline in revision 6743.
  • Revision ID: jelmer@jelmer.uk-20170723185616-coa59hq1l74qq6x6
Move errors.

Show diffs side-by-side

added added

removed removed

Lines of Context:
957
957
        self.lock_token = lock_token
958
958
 
959
959
 
960
 
class PointlessCommit(BzrError):
961
 
 
962
 
    _fmt = "No changes to commit"
963
 
 
964
 
 
965
 
class CannotCommitSelectedFileMerge(BzrError):
966
 
 
967
 
    _fmt = 'Selected-file commit of merges is not supported yet:'\
968
 
        ' files %(files_str)s'
969
 
 
970
 
    def __init__(self, files):
971
 
        files_str = ', '.join(files)
972
 
        BzrError.__init__(self, files=files, files_str=files_str)
973
 
 
974
 
 
975
 
class ExcludesUnsupported(BzrError):
976
 
 
977
 
    _fmt = ('Excluding paths during commit is not supported by '
978
 
            'repository at %(repository)r.')
979
 
 
980
 
    def __init__(self, repository):
981
 
        BzrError.__init__(self, repository=repository)
982
 
 
983
 
 
984
 
class BadCommitMessageEncoding(BzrError):
985
 
 
986
 
    _fmt = 'The specified commit message contains characters unsupported by '\
987
 
        'the current encoding.'
988
 
 
989
 
 
990
960
class UpgradeReadonly(BzrError):
991
961
 
992
962
    _fmt = "Upgrade URL cannot work with readonly URLs."