Mercurial > hg4j
comparison src/org/tmatesoft/hg/core/CatCommand.java @ 121:b1d6208fb517
Conditionally apply filters to file content
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Fri, 04 Feb 2011 03:37:09 +0100 |
parents | c0cc2535462c |
children | 7567f4a42fe5 |
comparison
equal
deleted
inserted
replaced
120:b19f0ac5ee62 | 121:b1d6208fb517 |
---|---|
78 if (revision != null) { | 78 if (revision != null) { |
79 revToExtract = dataFile.getLocalRevision(revision); | 79 revToExtract = dataFile.getLocalRevision(revision); |
80 } else { | 80 } else { |
81 revToExtract = localRevision; | 81 revToExtract = localRevision; |
82 } | 82 } |
83 dataFile.content(revToExtract, sink); | 83 dataFile.content(revToExtract, sink, true); |
84 } | 84 } |
85 } | 85 } |