diff src/com/tmate/hgkit/console/Cat.java @ 3:24bb4f365164

Rudimentary log functionality with basic infrastructure is in place
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Mon, 20 Dec 2010 02:50:36 +0100
parents 08db726a0fb7
children fc265ddeab26
line wrap: on
line diff
--- a/src/com/tmate/hgkit/console/Cat.java	Sun Dec 19 05:41:31 2010 +0100
+++ b/src/com/tmate/hgkit/console/Cat.java	Mon Dec 20 02:50:36 2010 +0100
@@ -19,5 +19,7 @@
 			System.err.printf("Can't find repository in: %s\n", hgRepo.getLocation());
 			return;
 		}
+		byte[] tipContent = hgRepo.getFileNode("hello.c").content();
+		System.out.println(new String(tipContent));
 	}
 }