Merge lp:~larstiq/bzr/bzr-pypy into lp:bzr
Proposed by
Wouter van Heyst
Status: | Merged |
---|---|
Merged at revision: | 6441 |
Proposed branch: | lp:~larstiq/bzr/bzr-pypy |
Merge into: | lp:bzr |
Diff against target: |
39 lines (+4/-4) 1 file modified
bzrlib/transform.py (+4/-4) |
To merge this branch: | bzr merge lp:~larstiq/bzr/bzr-pypy |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Martin Packman (community) | Approve | ||
Jelmer Vernooij (community) | code | Approve | |
Review via email: mp+88870@code.launchpad.net |
Description of the change
Having another go at running bzr under pypy a huge amount of tests fail with 'AssertionError: unversioned parent', these changes fix that.
Originally the code used None instead of ROOT_PARENT. While using 'is None' is fine, because ROOT_PARENT is defined now as the string "root-parent" using 'is' suddenly depends on the tricky effects of string interning. The changes from revid:<email address hidden> did not touch the comparison behaviour, but as far as I understand it they should have.
To post a comment you must log in.
I looked into these as well, but couldn't find the cause. Nice catch!