public final RenameCollector rh = new RenameCollector();
public List<HgChangeset> lastChangesetReportedAtRename = new LinkedList<HgChangeset>();
public void copy(HgFileRevision from, HgFileRevision to) throws HgCallbackTargetException {
Assert.assertTrue("Renames couldn't be reported prior to any change", getChanges().size() > 0);
HgChangeset lastKnown = getChanges().get(getChanges().size() - 1);
lastChangesetReportedAtRename.add(lastKnown);
rh.copy(from, to);
}