HgStatusCommand cmd = new HgStatusCommand(repo).all();
TestStatus.StatusCollector sc;
eh.run("hg", "status", "-A", "-S");
cmd.subrepo(true);
cmd.execute(sc = new TestStatus.StatusCollector());
sr.report("status -A -S", sc);
eh.run("hg", "status", "-A", "-S");
cmd.subrepo(false);
cmd.execute(sc = new TestStatus.StatusCollector());