From 6a8db4019a2346df75ed9c354d837e99e9ae1420 Mon Sep 17 00:00:00 2001 From: Stephen Elsemore Date: Thu, 18 Jun 2015 17:34:15 +0200 Subject: [PATCH] Pass peg revision when getting contents for diff --- .../core/internal/actions/SubclipseSCMFileContentsLocator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.review_board.ereviewboard.subclipse.core/src/org/review_board/ereviewboard/subclipse/core/internal/actions/SubclipseSCMFileContentsLocator.java b/org.review_board.ereviewboard.subclipse.core/src/org/review_board/ereviewboard/subclipse/core/internal/actions/SubclipseSCMFileContentsLocator.java index 66dc4e6..380f59c 100644 --- a/org.review_board.ereviewboard.subclipse.core/src/org/review_board/ereviewboard/subclipse/core/internal/actions/SubclipseSCMFileContentsLocator.java +++ b/org.review_board.ereviewboard.subclipse.core/src/org/review_board/ereviewboard/subclipse/core/internal/actions/SubclipseSCMFileContentsLocator.java @@ -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) {