Skip to content

Commit

Permalink
Pass peg revision when getting contents for diff
Browse files Browse the repository at this point in the history
References #142

Signed-off-by: Robert Munteanu <[email protected]>
  • Loading branch information
selsemore authored and rombert committed Jun 19, 2015
1 parent 42d4f5f commit 4ad3741
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public byte[] getContents(IProgressMonitor monitor) throws CoreException{
resourceUrl = repoLocation.getUrl().appendPath(_filePath);
}
SVNRevision revision = SVNRevision.getRevision(_revision);
InputStream content = repoLocation.getSVNClient().getContent(resourceUrl, revision);
InputStream content = repoLocation.getSVNClient().getContent(resourceUrl, revision, revision);

return IOUtils.toByteArray(content);
} catch (ParseException e) {
Expand Down

0 comments on commit 4ad3741

Please sign in to comment.