Merge lp://staging/~mwhudson/loggerhead/bug-390029 into lp://staging/loggerhead
Proposed by
Michael Hudson-Doyle
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | j.c.sackett | ||||
Approved revision: | 462 | ||||
Merged at revision: | 464 | ||||
Proposed branch: | lp://staging/~mwhudson/loggerhead/bug-390029 | ||||
Merge into: | lp://staging/loggerhead | ||||
Diff against target: |
13 lines (+2/-1) 1 file modified
loggerhead/history.py (+2/-1) |
||||
To merge this branch: | bzr merge lp://staging/~mwhudson/loggerhead/bug-390029 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
j.c.sackett (community) | Approve | ||
Richard Harding (community) | code* | Approve | |
Review via email: mp+87878@code.staging.launchpad.net |
Description of the change
This change should fix the bug, but the strange thing is that I can't reproduce it locally. It still occurs on LP though -- has something changed about whether revision_
To post a comment you must log in.
Michael, in peeking at the code it seems like you'd be able to test this by creating a test like the "test_native" that sets up the linear history and then grabs the top revision off of it and feeds that to the history. get_file_ changes. This might require cheating and turning the revision into an entry as in _change_ from_revision, but then you'd be able to test the corner case of the revision compared to itself?
The change here makes sense, but I just want to make sure that there's not a good way to test before approving.
Thanks