Skip to content

Commit 4687b0b

Browse files
Vladimir Kotalahornace
authored andcommitted
override max chunks (for debugging)
1 parent b144e80 commit 4687b0b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

opengrok-indexer/src/main/java/org/opengrok/indexer/history/MercurialRepository.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ public class MercurialRepository extends RepositoryWithPerPartesHistory {
5757

5858
private static final long serialVersionUID = 1L;
5959

60+
public static final int MAX_CHANGESETS = 256;
61+
6062
/**
6163
* The property name used to obtain the client command for this repository.
6264
*/
@@ -145,6 +147,10 @@ String determineBranch(CommandTimeoutType cmdType) throws IOException {
145147
return executor.getOutputString().trim();
146148
}
147149

150+
public int getPerPartesCount() {
151+
return MAX_CHANGESETS;
152+
}
153+
148154
private String getRevisionNum(String changeset) throws HistoryException {
149155
String[] parts = changeset.split(":");
150156
if (parts.length == 2) {

0 commit comments

Comments
 (0)