Package org.tmatesoft.hg.repo

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


    final int r1 = 0, r2 = 3;
    System.out.printf("Status for changes between revision %d and %d:\n", r1, r2);
    sc.walk(r1, r2, dump);
    //
    System.out.println("\n\nSame, but sorted in the way hg status does:");
    HgStatusCollector.Record r = sc.status(r1, r2);
    sortAndPrint('M', r.getModified(), null);
    sortAndPrint('A', r.getAdded(), null);
    sortAndPrint('R', r.getRemoved(), null);
    //
    System.out.println("\n\nTry hg status --change <rev>:");
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.