/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: Robert Collins
  • Date: 2009-02-20 10:48:51 UTC
  • mfrom: (4027 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4028.
  • Revision ID: robertc@robertcollins.net-20090220104851-m0s7qwe6jzqkgj1f
Merge bzr.dev (avoids criss-cross for PQM.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2965
2965
 
2966
2966
    def __init__(self, format, url):
2967
2967
        BzrError.__init__(self, format=format, url=url)
 
2968
 
 
2969
 
 
2970
class UnresumableWriteGroup(BzrError):
 
2971
    
 
2972
    _fmt = ("Repository %(repository)s cannot resume write group "
 
2973
            "%(write_groups)r: %(reason)s")
 
2974
 
 
2975
    internal_error = True
 
2976
 
 
2977
    def __init__(self, repository, write_groups, reason):
 
2978
        self.repository = repository
 
2979
        self.write_groups = write_groups
 
2980
        self.reason = reason
 
2981
 
 
2982
 
 
2983
class UnsuspendableWriteGroup(BzrError):
 
2984
    
 
2985
    _fmt = ("Repository %(repository)s cannot suspend a write group.")
 
2986
 
 
2987
    internal_error = True
 
2988
 
 
2989
    def __init__(self, repository):
 
2990
        self.repository = repository
 
2991