VCS: small correction to load revision content

This commit is contained in:
irengrig
2011-03-14 13:28:12 +03:00
parent c85deb2c3d
commit 4553c96b54
@@ -82,8 +82,8 @@ public class VcsHistoryUtil {
byte[] content = revision.getContent();
if (content == null) {
revision.loadContent();
content = revision.getContent();
}
content = revision.getContent();
if (content == null) throw new VcsException("Failed to load content for revision " + revision.getRevisionNumber().asString());
return content;
}