/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: 2018-03-24 17:48:04 UTC
  • mfrom: (6921 work)
  • mto: This revision was merged to the branch mainline in revision 6923.
  • Revision ID: jelmer@jelmer.uk-20180324174804-xf22o05byoj12x1q
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
245
245
        self.tree = tree
246
246
 
247
247
 
248
 
class NoSuchIdInRepository(NoSuchId):
249
 
 
250
 
    _fmt = ('The file id "%(file_id)s" is not present in the repository'
251
 
            ' %(repository)r')
252
 
 
253
 
    def __init__(self, repository, file_id):
254
 
        BzrError.__init__(self, repository=repository, file_id=file_id)
255
 
 
256
 
 
257
248
class NotStacked(BranchError):
258
249
 
259
250
    _fmt = "The branch '%(branch)s' is not stacked."
1867
1858
        self.tname = type(method_self).__name__
1868
1859
 
1869
1860
 
 
1861
class FetchLimitUnsupported(UnsupportedOperation):
 
1862
 
 
1863
    fmt = ("InterBranch %(interbranch)r does not support fetching limits.")
 
1864
 
 
1865
    def __init__(self, interbranch):
 
1866
        BzrError.__init__(self, interbranch=interbranch)
 
1867
 
 
1868
 
1870
1869
class NonAsciiRevisionId(UnsupportedOperation):
1871
1870
    """Raised when a commit is attempting to set a non-ascii revision id
1872
1871
       but cant.