Examples of HgChangesetHandler


Examples of org.tmatesoft.hg.core.HgChangesetHandler

      revisionTags.add(tagName);
    }

    final HgLogCommand logCommand = new HgLogCommand(repository);
    logCommand.file(targetPath, true);
    logCommand.execute(new HgChangesetHandler() {
      public void cset(HgChangeset changeset) {
        if (changeset.getAffectedFiles().contains(targetPath)) {
          System.out.println(changeset.getRevisionIndex() + " " + changeSetRevisionToTags.get(changeset.getNodeid()));
        }
      }
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.