Package org.tmatesoft.hg.repo

Examples of org.tmatesoft.hg.repo.HgChangelog.range()


    clogRevsVector.sort(true);
    final int[] clogRevs = clogRevsVector.toArray();
    final IntMap<Nodeid> clogMap = new IntMap<Nodeid>(changesets.size());
    final IntVector manifestRevs = new IntVector(changesets.size(), 0);
    final List<HgDataFile> files = new ArrayList<HgDataFile>();
    clog.range(new HgChangelog.Inspector() {
      private Set<String> seenFiles = new HashSet<String>();
      public void next(int revisionIndex, Nodeid nodeid, RawChangeset cset) throws HgRuntimeException {
        clogMap.put(revisionIndex, nodeid);
        manifestRevs.add(manifest.getRevisionIndex(cset.manifest()));
        for (String f : cset.files()) {
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.