Mercurial > hg4j
comparison 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 |
comparison
equal
deleted
inserted
replaced
624:507602cb4fb3 | 625:b4948b159ab1 |
---|---|
161 } | 161 } |
162 } | 162 } |
163 return rv; | 163 return rv; |
164 } | 164 } |
165 | 165 |
166 /** | |
167 * @return number of file revisions in this chunk of its history | |
168 */ | |
169 public int revisionCount() { | |
170 return fileRevsToVisit.size(); | |
171 } | |
172 | |
166 public int changeset(int fileRevIndex) { | 173 public int changeset(int fileRevIndex) { |
167 return file2changelog[fileRevIndex]; | 174 return file2changelog[fileRevIndex]; |
168 } | 175 } |
169 | 176 |
170 public void fillFileParents(int fileRevIndex, int[] fileParents) { | 177 public void fillFileParents(int fileRevIndex, int[] fileParents) { |