121
121
search.stop_searching_any(exclude_keys.intersection(next_revs))
125
124
# we got back a different amount of data than expected, this
126
125
# gets reported as NoSuchRevision, because less revisions
127
126
# indicates missing revisions, and more should never happen as
128
127
# the excludes list considers ghosts and ensures that ghost
129
128
# filling races are not a problem.
130
129
return (None, FailedSmartServerResponse(('NoSuchRevision',)))
131
132
return (search_result, None)