~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: Aaron Bentley
  • Date: 2007-02-12 23:01:49 UTC
  • mto: (2230.3.47 branch6)
  • mto: This revision was merged to the branch mainline in revision 2290.
  • Revision ID: abentley@panoramicfeedback.com-20070212230149-cdoq27bpnuilvljc
Rename strict_revision_history to append_revisions_only

Show diffs side-by-side

added added

removed removed

Lines of Context:
803
803
    _fmt = "%(branch)s is missing %(object_type)s {%(object_id)s}"
804
804
 
805
805
 
806
 
class StrictHistoryViolation(BzrError):
 
806
class AppendRevisionsOnlyViolation(BzrError):
807
807
 
808
808
    _fmt = 'Operation denied because it would change the main history, '\
809
 
           'which is not permitted by the strict_history setting on branch'\
810
 
           ' "%(location)s".'
 
809
           'which is not permitted by the append_revisions_only setting on'\
 
810
           ' branch "%(location)s".'
811
811
 
812
812
    def __init__(self, location):
813
813
       import bzrlib.urlutils as urlutils