added revision parameter to changeset client api

This commit is contained in:
Sebastian Sdorra
2011-11-15 21:44:29 +01:00
parent 90c232a17e
commit 0859191fef
3 changed files with 27 additions and 11 deletions

View File

@@ -107,18 +107,22 @@ public class JerseyClientChangesetHandler implements ClientChangesetHandler
* Method description
*
*
*
* @param path
* @param revision
* @param start
* @param limit
*
* @return
*/
@Override
public ChangesetPagingResult getChangesets(String path, int start, int limit)
public ChangesetPagingResult getChangesets(String path, String revision,
int start, int limit)
{
ChangesetPagingResult result = null;
String url =
session.getUrlProvider().getRepositoryChangesetUrl(repository.getId(),
start, limit);
path, revision, start, limit);
WebResource resource = session.getClient().resource(url);
ClientResponse response = null;
@@ -139,7 +143,7 @@ public class JerseyClientChangesetHandler implements ClientChangesetHandler
return result;
}
//~--- fields ---------------------------------------------------------------
/** Field description */