Package org.tmatesoft.hg.repo

Examples of org.tmatesoft.hg.repo.HgPhase.compareTo()


  }

  public void newCommitNode(Nodeid newChangeset, HgPhase newCommitPhase) throws HgRuntimeException {
    final int riCset = repo.getRepo().getChangelog().getRevisionIndex(newChangeset);
    HgPhase ph = getPhase(riCset, newChangeset);
    if (ph.compareTo(newCommitPhase) >= 0) {
      // present phase is more secret than the desired one
      return;
    }
    // newCommitPhase can't be public here, condition above would be satisfied
    assert newCommitPhase != HgPhase.Public;
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.