UnapprovedRevisions check can always return False

Bug #656525 reported by dobey
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Tarmac
Fix Released
Critical
dobey

Bug Description

It appears that there was recently a change in LP that switched the reviewed_revid attribute on merge proposals from being the revno, to being the revision id. Since the "tip" value we're using to compare with, is the revno, Python always compares it as larger than the revid. For example:

>>> 1 > "zzzzzzz-201010101010"
False

We need to canonicalize to revno for comparison here.

Related branches

Paul Hummer (rockstar)
Changed in tarmac:
status: In Progress → Fix Committed
Paul Hummer (rockstar)
Changed in tarmac:
milestone: none → tarmac-0.5
Paul Hummer (rockstar)
Changed in tarmac:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.