Package org.tmatesoft.hg.internal

Examples of org.tmatesoft.hg.internal.Metadata$Record


    }
    if (sink == null) {
      throw new IllegalArgumentException();
    }
    if (metadata == null) {
      metadata = new Metadata(getRepo());
    }
    ErrorHandlingInspector insp;
    final LogFacility lf = getRepo().getSessionContext().getLog();
    if (metadata.none(fileRevisionIndex)) {
      insp = new ContentPipe(sink, 0, lf);
View Full Code Here


  }
 
  private void checkAndRecordMetadata(int localRev) throws HgRuntimeException {
    int startRev;
    if (metadata == null) {
      metadata = new Metadata(getRepo());
      startRev = 0; // read from the very beginning with one shot - likely isCopy(localRev-i) will be of interest, too
    } else {
      startRev = metadata.lastRevisionRead() + 1;
    }
    assert localRev >= startRev; // callers of this method ensure that metadata has been checked beforehand
View Full Code Here

TOP

Related Classes of org.tmatesoft.hg.internal.Metadata$Record

Copyright © 2018 www.massapicom. 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.