Sample:
HgChangesetFileSneaker i = new HgChangesetFileSneaker(hgRepo).changeset(Nodeid.fromString("<40 digits>")).followRenames(true); if (i.check(file)) { HgCatCommand catCmd = new HgCatCommand(hgRepo).revision(i.getFileRevision()); catCmd.execute(...); ... }
TODO may add #manifest(Nodeid) to select manifest according to its revision (not only changeset revision as it's now) Unlike {@link HgManifest#getFileRevision(int,Path)}, this class is useful when few files from the same changeset have to be inspected @see HgManifest#getFileRevision(int,Path) @author Artem Tikhomirov @author TMate Software Ltd.
|
|
|
|