Merge ~cjwatson/turnip:log-missing-stop into turnip:master
Proposed by
Colin Watson
Status: | Needs review |
---|---|
Proposed branch: | ~cjwatson/turnip:log-missing-stop |
Merge into: | turnip:master |
Prerequisite: | ~cjwatson/turnip:log-by-date |
Diff against target: |
36 lines (+13/-1) 2 files modified
turnip/api/store.py (+4/-1) turnip/api/tests/test_api.py (+9/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
William Grant (community) | code | Approve | |
Review via email: mp+295545@code.launchpad.net |
Commit message
Make log API ignore a missing stop commit
Determining whether the stop commit exists in advance requires an extra
round-trip, and clients are likely to just fall back to omitting the
stop commit anyway. start_time and end_time provide an alternative way
to bound the set of commits which can be used in addition to a
possibly-missing stop commit.
Description of the change
Make log API ignore a missing stop commit.
To post a comment you must log in.
This makes it very easily to accidentally request a couple of hundred thousand commits, but I understand the motivation.