Skip to content

Commit f98b0d1

Browse files
committed
add comment
1 parent 712081f commit f98b0d1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

opengrok-indexer/src/test/java/org/opengrok/indexer/history/MercurialRepositoryTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,7 @@ public static void runHgCommand(File reposRoot, String... args) {
196196
commandWithArgs.addAll(Arrays.asList(args));
197197

198198
final Map<String, String> env = new HashMap<>();
199+
// Set the user to record commits in order to prevent hg commands entering interactive mode.
199200
env.put("HGUSER", "Snufkin <[email protected]>");
200201
Executor exec = new Executor(commandWithArgs, reposRoot, env);
201202
int exitCode = exec.exec();

0 commit comments

Comments
 (0)