diff cmdline/org/tmatesoft/hg/console/Cat.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 6b55f10ef54b
children 45dc79e545f5
line wrap: on
line diff
--- a/cmdline/org/tmatesoft/hg/console/Cat.java	Wed Mar 02 01:06:09 2011 +0100
+++ b/cmdline/org/tmatesoft/hg/console/Cat.java	Wed Mar 09 05:22:17 2011 +0100
@@ -46,7 +46,7 @@
 			System.out.println(fname);
 			HgDataFile fn = hgRepo.getFileNode(fname);
 			if (fn.exists()) {
-				fn.content(rev, out, true);
+				fn.contentWithFilters(rev, out);
 				System.out.println();
 			} else {
 				System.out.printf("%s not found!\n", fname);