This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
command.add(HG_COMMIT_CMD);
command.add(HG_OPT_REPOSITORY);
command.add(repository.getAbsolutePath());
command.add(HG_OPT_CWD_CMD);
String projectUserName = new HgConfigFiles(repository).getUserName(false);
String globalUsername = HgConfigFiles.getInstance().getUserName();
command.add(tempfile.getAbsolutePath());
for(File f: commitFiles){
command.add(f.getAbsolutePath());
command.add(f.getAbsolutePath().substring(repository.getAbsolutePath().length()+1));
}
List<String> list = exec(command);