Mercurial > hg4j
diff src/org/tmatesoft/hg/internal/FileRevisionHistoryChunk.java @ 625:b4948b159ab1
Refactor internals of blame support, tests
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Tue, 21 May 2013 17:24:22 +0200 |
parents | 43cfa08ff3fd |
children | 6526d8adbc0f |
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/internal/FileRevisionHistoryChunk.java Mon May 20 20:34:33 2013 +0200 +++ b/src/org/tmatesoft/hg/internal/FileRevisionHistoryChunk.java Tue May 21 17:24:22 2013 +0200 @@ -163,6 +163,13 @@ return rv; } + /** + * @return number of file revisions in this chunk of its history + */ + public int revisionCount() { + return fileRevsToVisit.size(); + } + public int changeset(int fileRevIndex) { return file2changelog[fileRevIndex]; }