Package org.tmatesoft.hg.core

Examples of org.tmatesoft.hg.core.HgLogCommand.range()


        int[] r = new int[] { 0, hgRepo.getChangelog().getRevisionCount() };
        if (fixRange(r, reverseOrder, limit) == 0) {
          System.out.println("No changes");
          return;
        }
        cmd.range(r[0], r[1]).execute(dump);
      }
      dump.done();
    } else {
      for (String fname : files) {
        HgDataFile f1 = hgRepo.getFileNode(fname);
View Full Code Here


          int[] r = new int[] { 0, f1.getRevisionCount() };
          if (fixRange(r, reverseOrder, limit) == 0) {
            System.out.println("No changes");
            continue;
          }
          cmd.range(r[0], r[1]).file(f1.getPath(), true).execute(dump);
        }
        dump.done();
      }
    }
//    cmd = null;
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.