File srcRepoLoc = RepoUtils.copyRepoToTempLocation("test-phases", "test-push-phase-update-1-src");
File dstRepoLoc = RepoUtils.copyRepoToTempLocation("test-phases", "test-push-phase-update-1-dst");
File f1 = new File(srcRepoLoc, "hello.c");
assertTrue("[sanity]", f1.canWrite());
final HgLookup hgLookup = new HgLookup();
final HgRepository srcRepo = hgLookup.detect(srcRepoLoc);
final ExecHelper dstRun = new ExecHelper(new OutputParser.Stub(), dstRepoLoc);
final int publicCsetToBranchAt = 4;
final int r5 = 5, r6 = 6, r8 = 8;
PhasesHelper srcPhase = new PhasesHelper(HgInternals.getImplementationRepo(srcRepo));
assertEquals("[sanity]", HgPhase.Draft, srcPhase.getPhase(r5, null));