private void importHgChangeset(File reposRoot, String changesetFile) {
String[] cmdargs = {
MercurialRepository.CMD_FALLBACK, "import", changesetFile
};
Executor exec = new Executor(Arrays.asList(cmdargs), reposRoot);
int exitCode = exec.exec();
if (exitCode != 0) {
fail("hg import failed." +
"\nexit code: " + exitCode +
"\nstdout:\n" + exec.getOutputString() +
"\nstderr:\n" + exec.getErrorString());