else
cmd = new String[] { getP4Exe(), "changes", "-s", "submitted", path };
StringBuilder response = getPerforceResponse(cmd);
if(hitMax(response)){
throw new PerforceException("Hit perforce server limit while pulling changes: " + response);
}
List<String> ids = parseList(response, 1);
List<Integer> numbers = new ArrayList<Integer>(ids.size());
for(String id : ids) {
try{
numbers.add(new Integer(id));
} catch (Exception e) {
throw new PerforceException("Failed to get change numbers.\nResponse from perforce was:\n" + response, e);
}
}
return numbers;
}