Package org.tmatesoft.hg.core

Examples of org.tmatesoft.hg.core.HgIncomingCommand.executeLite()


      return;
    }
    HgIncomingCommand cmd = hgRepo.createIncomingCommand();
    cmd.against(hgRemote);
    //
    List<Nodeid> missing = cmd.executeLite();
    Collections.reverse(missing); // useful to test output, from newer to older
    Outgoing.dump("Nodes to fetch:", missing);
    System.out.printf("Total: %d\n\n", missing.size());
    //
    // Complete
View Full Code Here


    HgLogCommand.CollectHandler collector = new HgLogCommand.CollectHandler();
    LogOutputParser outParser = new LogOutputParser(true);
    ExecHelper eh = new ExecHelper(outParser, localRepo.getWorkingDir());
    cmd.executeFull(collector);
    eh.run("hg", "incoming", "--debug", hgRemote.getLocation());
    List<Nodeid> liteResult = cmd.executeLite();
    report(collector, outParser, liteResult, errorCollector);
    return liteResult;
  }
 
  static void report(HgLogCommand.CollectHandler collector, LogOutputParser outParser, List<Nodeid> liteResult, ErrorCollectorExt errorCollector) {
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.