Package org.tmatesoft.hg.repo

Examples of org.tmatesoft.hg.repo.HgStatusCollector.change()


    sortAndPrint('M', r.getModified(), null);
    sortAndPrint('A', r.getAdded(), null);
    sortAndPrint('R', r.getRemoved(), null);
    //
    System.out.println("\n\nTry hg status --change <rev>:");
    sc.change(0, dump);
    System.out.println("\nStatus against working dir:");
    HgWorkingCopyStatusCollector wcc = new HgWorkingCopyStatusCollector(hgRepo);
    wcc.walk(WORKING_COPY, dump);
    System.out.println();
    System.out.printf("Manifest of the revision %d:\n", r2);
View Full Code Here


        wcsc.setBaseRevisionCollector(sc);
        wcsc.walk(startRevision, mediator);
      } else {
        sc.setScope(scope); // explicitly set, even if null - would be handy once we reuse StatusCollector
        if (startRevision == TIP) {
          sc.change(endRevision, mediator);
        } else {
          sc.walk(startRevision, endRevision, mediator);
        }
      }
      mediator.checkFailure();
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.