comparison src/com/tmate/hgkit/console/Main.java @ 4:aa1912c70b36

Fix offset issue for inline revlogs. Commandline processing.
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Mon, 20 Dec 2010 04:20:52 +0100
parents 24bb4f365164
children 571e1b2cc3f7
comparison
equal deleted inserted replaced
3:24bb4f365164 4:aa1912c70b36
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 LinkedList<Changeset> changelog = new LinkedList<Changeset>(); 24 LinkedList<Changeset> changelog = new LinkedList<Changeset>();
24 // 25 //
25 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))));
26 DataInput di = dis; 27 DataInput di = dis;
27 dis.mark(10); 28 dis.mark(10);