~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/branch.py

  • Committer: Jelmer Vernooij
  • Date: 2011-04-20 19:32:00 UTC
  • mto: This revision was merged to the branch mainline in revision 5808.
  • Revision ID: jelmer@samba.org-20110420193200-4eiq8i7ko36hzvuv
Decorate _set_revision_history rather than set_revision_history.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2512
2512
            mode=self.bzrdir._get_file_mode())
2513
2513
 
2514
2514
    @deprecated_method(deprecated_in((2, 4, 0)))
2515
 
    @needs_write_lock
2516
2515
    def set_revision_history(self, rev_history):
2517
2516
        """See Branch.set_revision_history."""
2518
2517
        self._set_revision_history(rev_history)
2519
2518
 
 
2519
    @needs_write_lock
2520
2520
    def _set_revision_history(self, rev_history):
2521
2521
        if 'evil' in debug.debug_flags:
2522
2522
            mutter_callsite(3, "set_revision_history scales with history.")