Package org.tmatesoft.hg.repo

Examples of org.tmatesoft.hg.repo.HgBundle.changes()


    +Changeset {User: ..., Comment: Integer ....}
    +Changeset {User: ..., Comment: Approach with ...}
    -Changeset {User: ..., Comment: Correct project name...}
    -Changeset {User: ..., Comment: Record possible...}
    */
    hgBundle.changes(hgRepo, new HgChangelog.Inspector() {
      private final HgChangelog changelog = hgRepo.getChangelog();
     
      public void next(int revisionNumber, Nodeid nodeid, RawChangeset cset) throws HgRuntimeException {
        if (changelog.isKnown(nodeid)) {
          System.out.print("+");
View Full Code Here


    try {
      final List<Nodeid> common = getCommon();
      HgBundle changegroup = remoteRepo.getChanges(common);
      final ChangesetTransformer transformer = new ChangesetTransformer(localRepo, handler, getParentHelper(), ps, getCancelSupport(handler, true));
      transformer.limitBranches(branches);
      changegroup.changes(localRepo, new HgChangelog.Inspector() {
        private int localIndex;
        private final HgParentChildMap<HgChangelog> parentHelper;
     
        {
          parentHelper = getParentHelper();
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.