revision_history was deprecated in version 2.5.0

Bug #988195 reported by Aleksandr Smyshliaev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar hookless email
Medium
Unassigned

Bug Description

Running bzr-hookless-email with Bazaar 2.5.0 produces DeprecationWarning:

~/bzr/bzr-hookless-email/bzr_hookless_email.py:181: DeprecationWarning: bzrlib.branch.BzrBranch7.revision_history was deprecated in version 2.5.0.
  revision_history = self._branch.revision_history()

Revision history for this message
Aleksandr Smyshliaev (a1s) wrote :

As far as I understand, new API for history browsing is iter_merge_sorted_revisions method. The patch to use this method is attached.

Could it be done simpler by passing last_mailed to iter_merge_sorted_revisions()?

Jelmer Vernooij (jelmer)
Changed in bzr-hookless-email:
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Glenn Morris (rgm+lp) wrote :

If anyone is still there, revision_history was apparently removed in bzr 2.6, so now bzr-hookless doesn't work.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers