Package org.tmatesoft.hg.internal

Examples of org.tmatesoft.hg.internal.ManifestRevision.files()


    // XXX NOTE, use of TIP for working copy parent is questionable, at least. Instead, TIP shall mean latest cset or not allowed at all
    ManifestRevision collect = null; // non null indicates we compare against base revision
    Set<Path> baseRevFiles = Collections.emptySet(); // files from base revision not affected by status calculation
    if (baseRevision != TIP && baseRevision != WORKING_COPY) {
      collect = getManifest(baseRevision);
      baseRevFiles = new TreeSet<Path>(collect.files());
    }
    if (inspector instanceof HgStatusCollector.Record) {
      HgStatusCollector sc = baseRevisionCollector == null ? new HgStatusCollector(repo) : baseRevisionCollector;
      // nodeidAfterChange(dirstate's parent) doesn't make too much sense,
      // because the change might be actually in working copy. Nevertheless,
View Full Code Here


    r1 = get(rev1);
    r2 = get(rev2);

    final CancelSupport cs = CancelSupport.Factory.get(inspector);

    Collection<Path> allBaseFiles = r1.files();
    TreeSet<Path> r1Files = new TreeSet<Path>(allBaseFiles);
    for (Path r2fname : r2.files()) {
      if (!scope.accept(r2fname)) {
        continue;
      }
View Full Code Here

      m2 = new ManifestRevision(cacheRevs, cacheFiles).init(repo, secondCset);
      ma = new ManifestRevision(cacheRevs, cacheFiles).init(repo, ancestorCset);
      Transaction transaction = implRepo.getTransactionFactory().create(repo);
      ResolverImpl resolver = new ResolverImpl(implRepo, dirstateBuilder, mergeStateBuilder);
      try {
        for (Path f : m1.files()) {
          Nodeid fileRevBase, fileRevA, fileRevB;
          if (m2.contains(f)) {
            fileRevA = m1.nodeid(f);
            fileRevB = m2.nodeid(f);
            fileRevBase = ma.contains(f) ? ma.nodeid(f) : 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.