private List<Nodeid> runAndCompareIncoming(HgRepository localRepo, HgRemoteRepository hgRemote) throws Exception {
// need new command instance as subsequence exec[Lite|Full] on the same command would yield same result,
// regardless of the pull in between.
HgIncomingCommand cmd = new HgIncomingCommand(localRepo);
cmd.against(hgRemote);
HgLogCommand.CollectHandler collector = new HgLogCommand.CollectHandler();
LogOutputParser outParser = new LogOutputParser(true);
ExecHelper eh = new ExecHelper(outParser, localRepo.getWorkingDir());
cmd.executeFull(collector);
eh.run("hg", "incoming", "--debug", hgRemote.getLocation());