~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: Martin Pool
  • Date: 2009-06-19 09:06:56 UTC
  • mfrom: (4463 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4464.
  • Revision ID: mbp@sourcefrog.net-20090619090656-d5weqeecyscv8kqp
merge news

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"