// do not update any remote phase (it's pull, after all)
final PhasesHelper phaseHelper = new PhasesHelper(implRepo, parentHelper);
if (phaseHelper.isCapableOfPhases()) {
RevisionSet rsCommon = new RevisionSet(common);
HgRemoteRepository.Phases remotePhases = remote.getPhases();
phaseHelper.synchronizeWithRemote(remotePhases, rsCommon.union(added));
}
progress.worked(5);
incoming.unlink(); // keep the file only in case of failure
} catch (HgRuntimeException ex) {
throw new HgLibraryFailureException(ex);