~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-06-18 19:13:45 UTC
  • mfrom: (4360.4.17 1.15-pack-source)
  • Revision ID: pqm@pqm.ubuntu.com-20090618191345-vgsr5zv78uesqsdg
(jam) Get rid of InterPackRepository in favor of PackStreamSource.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2161
2161
    _fmt = "To use this feature you must upgrade your repository at %(path)s."
2162
2162
 
2163
2163
 
 
2164
class RichRootUpgradeRequired(UpgradeRequired):
 
2165
 
 
2166
    _fmt = ("To use this feature you must upgrade your branch at %(path)s to"
 
2167
           " a format which supports rich roots.")
 
2168
 
 
2169
 
2164
2170
class LocalRequiresBoundBranch(BzrError):
2165
2171
 
2166
2172
    _fmt = "Cannot perform local-only commits on unbound branches."
2167
2173
 
2168
2174
 
2169
 
class InvalidProgressBarType(BzrError):
2170
 
 
2171
 
    _fmt = ("Environment variable BZR_PROGRESS_BAR='%(bar_type)s"
2172
 
            " is not a supported type Select one of: %(valid_types)s")
2173
 
 
2174
 
    def __init__(self, bar_type, valid_types):
2175
 
        BzrError.__init__(self, bar_type=bar_type, valid_types=valid_types)
2176
 
 
2177
 
 
2178
2175
class UnsupportedOperation(BzrError):
2179
2176
 
2180
2177
    _fmt = ("The method %(mname)s is not supported on"