// sink itself still may supply CS
sinkWrap = sink;
} else {
// try CS from sink, if any. at least there is CS from command
CancelSupport cancelHelper = getCancelSupport(sink, true);
cancelHelper.checkCancelled();
sinkWrap = new ByteChannelProxy(sink, cancelHelper);
}
dataFile.contentWithFilters(revToExtract, sinkWrap);
} catch (HgRuntimeException ex) {
throw new HgLibraryFailureException(ex);