Mercurial > jhg
comparison src/org/tmatesoft/hg/core/HgCatCommand.java @ 157:d5268ca7715b
Merged branch wrap-data-access into default for resource-friendly data access. Updated API to promote that friendliness to clients (channels, not byte[]). More exceptions
| author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
|---|---|
| date | Wed, 09 Mar 2011 05:22:17 +0100 |
| parents | 1a7a9a20e1f9 |
| children | 41a778e3fd31 |
comparison
equal
deleted
inserted
replaced
| 156:643ddec3be36 | 157:d5268ca7715b |
|---|---|
| 116 if (revision != null) { | 116 if (revision != null) { |
| 117 revToExtract = dataFile.getLocalRevision(revision); | 117 revToExtract = dataFile.getLocalRevision(revision); |
| 118 } else { | 118 } else { |
| 119 revToExtract = localRevision; | 119 revToExtract = localRevision; |
| 120 } | 120 } |
| 121 dataFile.content(revToExtract, sink, true); | 121 dataFile.contentWithFilters(revToExtract, sink); |
| 122 } | 122 } |
| 123 } | 123 } |
