comparison src/com/tmate/hgkit/console/Main.java @ 17:571e1b2cc3f7

Query file for its parents. Demo of recently added ignore and digest support from within cat cmd
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Mon, 27 Dec 2010 01:43:08 +0100
parents aa1912c70b36
children 603806cd2dc6
comparison
equal deleted inserted replaced
16:254078595653 17:571e1b2cc3f7
16 * @author artem 16 * @author artem
17 */ 17 */
18 public class Main { 18 public class Main {
19 19
20 public static void main(String[] args) throws Exception { 20 public static void main(String[] args) throws Exception {
21 String filename = "store/00changelog.i"; 21 // String filename = "store/00changelog.i";
22 //String filename = "store/data/hello.c.i"; 22 String filename = "store/data/hello.c.i";
23 // String filename = "store/data/docs/readme.i"; 23 // String filename = "store/data/docs/readme.i";
24 LinkedList<Changeset> changelog = new LinkedList<Changeset>(); 24 LinkedList<Changeset> changelog = new LinkedList<Changeset>();
25 // 25 //
26 DataInputStream dis = new DataInputStream(new BufferedInputStream(new FileInputStream(new File("/temp/hg/hello/.hg/" + filename)))); 26 DataInputStream dis = new DataInputStream(new BufferedInputStream(new FileInputStream(new File("/temp/hg/hello/.hg/" + filename))));
27 DataInput di = dis; 27 DataInput di = dis;