Comment 3 for bug 291617

Revision history for this message
John A Meinel (jameinel) wrote :

Technically it is a bug in both Bazaar and bzr-pqm

1) We used to use Tree._iter_changes() for getting info

2) It was made public by renaming it to Tree.iter_changes(), and _iter_changes was just a shell function to call into the real one.

3) We updated bzr-pqm to use the now public .iter_changes() but never produced another .deb file

4) Apparently the _iter_changes() thunk was not kept up to date with .iter_changes() I would have thought we would at least have a trivial test to make sure the thunk was working. So that the older PQM code stopped working.

On another note, this is one downside of disabling Deprecation Warnings in release versions. As otherwise bzr-pqm would have been complaining for quite some time about using a deprecated api. (Those of us using development versions of bzr also use development versions of bzr-pqm so we never see that bzr-pqm has not been packaged to something newer).

A workaround ATM is to install the development version of bzr-pqm with:

mkdir -p ~/.bazaar/plugins
cd ~/.bazaar/plugins
bzr co lp:bzr-pqm pqm

And then it should be used rather than the system install.