* @throws CancelledException if execution of the operation was cancelled
*/
public void putContentTo(ByteChannel sink) throws HgRuntimeException, CancelledException {
HgDataFile fn = repo.getFileNode(path);
int revisionIndex = fn.getRevisionIndex(revision);
fn.contentWithFilters(revisionIndex, sink);
}
@Override
public String toString() {
return String.format("HgFileRevision(%s, %s)", getPath().toString(), revision.shortNotation());