commit | dd78ef2dcc47ffa075053f67abe1d874f2b125bd | [log] [tgz] |
---|---|---|
author | Tobias Henkel <tobias.henkel@bmw-carit.de> | Thu Aug 06 14:14:22 2015 +0200 |
committer | Tobias Henkel <tobias.henkel@bmw-carit.de> | Mon Aug 31 11:42:15 2015 +0200 |
tree | ce8bb1a3edcbd518eff0e43fbc8fab604166d093 | |
parent | e8aa3c6842501358a60908f93b3c6b41fc69e5d0 [diff] |
Support pagination in simplequery for Gerrit >=2.9 Starting with Gerrit 2.9 the pagination mechanism changed to using offsets instead of sortkeys. For details please check the release notes of 2.9: https://gerrit-documentation.storage.googleapis.com/ReleaseNotes/ReleaseNotes-2.9.html#_rest_api. In order to support both versions it is necessary to check for the presence of moreChanges in the status line and then process the next chunks either with the old or the new method. Change-Id: Ieb54052debd07d86db66ef0f1d7ce1bdb42964b4