Merge lp:~mbp/bzr/340347-log-decorator into lp:~bzr/bzr/trunk-old
Proposed by
Martin Pool
Status: | Merged |
---|---|
Merged at revision: | not available |
Proposed branch: | lp:~mbp/bzr/340347-log-decorator |
Merge into: | lp:~bzr/bzr/trunk-old |
Diff against target: | 230 lines |
To merge this branch: | bzr merge lp:~mbp/bzr/340347-log-decorator |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
John A Meinel | Approve | ||
Review via email: mp+8075@code.launchpad.net |
To post a comment you must log in.
Fixes this bug https:/ /bugs.edge. launchpad. net/bzr/ +bug/340347 in both ways: pack.py no longer insists on getting an iterator (because the readv docstring says it may be a list) and TransportLogDec orator gives back a generator if the underlying transport gives one. I added a test for the second; the first is not super easily testable and imo does not need one as it's a debugging aid that's failing.
One variable was named 'length' when it should be 'offset' so I fixed it.
Some errors for readv now give more information which may help with things like bug 360476.
I cut out the rate and time display from the log+ output becasue they're now redundant.