comparison src/org/tmatesoft/hg/internal/PhasesHelper.java @ 650:3b275cc2d2aa

Push: phase4 - settle local and remote phases, push updated phases regardless of server publishing state, do not push secret changesets
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Fri, 28 Jun 2013 19:27:26 +0200
parents e79cf9a8130b
children cd77bf51b562
comparison
equal deleted inserted replaced
649:e79cf9a8130b 650:3b275cc2d2aa
76 if (null == repoSupporsPhases) { 76 if (null == repoSupporsPhases) {
77 repoSupporsPhases = readRoots(); 77 repoSupporsPhases = readRoots();
78 } 78 }
79 return repoSupporsPhases.booleanValue(); 79 return repoSupporsPhases.booleanValue();
80 } 80 }
81 81
82 public boolean withSecretRoots() {
83 return !secretPhaseRoots.isEmpty();
84 }
82 85
83 /** 86 /**
84 * @param cset revision to query 87 * @param cset revision to query
85 * @return phase of the changeset, never <code>null</code> 88 * @return phase of the changeset, never <code>null</code>
86 * @throws HgInvalidControlFileException if failed to access revlog index/data entry. <em>Runtime exception</em> 89 * @throws HgInvalidControlFileException if failed to access revlog index/data entry. <em>Runtime exception</em>