Examples of inspectFiles()


Examples of org.tmatesoft.hg.repo.HgBundle.inspectFiles()

      System.err.printf("Can't find repository in: %s\n", hgRepo.getLocation());
      return;
    }
    File bundleFile = new File("/temp/hg/hg-bundle-cpython.tmp");
    HgBundle hgBundle = new HgLookup().loadBundle(bundleFile);
    hgBundle.inspectFiles(new Dump());
    if (Boolean.parseBoolean("true")) {
      return;
    }
    /* pass -R <path-to-repo-with-less-revisions-than-bundle>, e.g. for bundle with tip=168 and -R \temp\hg4j-50 with tip:159
    +Changeset {User: ..., Comment: Integer ....}
View Full Code Here

Examples of org.tmatesoft.hg.repo.HgBundle.inspectFiles()

    errorCollector.assertEquals(0, insp.filesExit);
    errorCollector.assertTrue(insp.manifests == null || insp.manifests.isEmpty());
    errorCollector.assertTrue(insp.files.isEmpty());
    //
    insp = new DumbInspector();
    b.inspectFiles(insp);
    errorCollector.assertFalse(insp.clogEnter && insp.clogExit);
    errorCollector.assertFalse(insp.manifestEnter || insp.manifestExit);
    // $ hg log -r 638:640 --debug | grep files
    List<String> affectedFiles = Arrays.asList("src/org/tmatesoft/hg/repo/HgDataFile.java", "COPYING", "build.gradle", ".hgtags");
    // "src/org/tmatesoft/hg/repo/HgBlameInspector.java" was deleted in r638 and hence not part of the bundle
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.