Mercurial > hg4j
diff src/com/tmate/hgkit/console/Main.java @ 22:603806cd2dc6
Status of local working dir against non-tip base revision
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Thu, 06 Jan 2011 03:30:20 +0100 |
parents | 571e1b2cc3f7 |
children | b01500fe2604 |
line wrap: on
line diff
--- a/src/com/tmate/hgkit/console/Main.java Wed Jan 05 04:10:28 2011 +0100 +++ b/src/com/tmate/hgkit/console/Main.java Thu Jan 06 03:30:20 2011 +0100 @@ -1,3 +1,6 @@ +/* + * Copyright (c) 2010, 2011 Artem Tikhomirov + */ package com.tmate.hgkit.console; import java.io.BufferedInputStream; @@ -18,12 +21,17 @@ public class Main { public static void main(String[] args) throws Exception { +// String repo = "/temp/hg/hello/.hg/"; // String filename = "store/00changelog.i"; - String filename = "store/data/hello.c.i"; +// String filename = "store/data/hello.c.i"; // String filename = "store/data/docs/readme.i"; + String repo = "/eclipse-3.7/ws.hg/com.tmate.hgkit/.hg/"; +// String filename = "store/data/design.txt.i"; + String filename = "store/data/src/com/tmate/hgkit/ll/_revlog_stream.java.i"; + // LinkedList<Changeset> changelog = new LinkedList<Changeset>(); // - DataInputStream dis = new DataInputStream(new BufferedInputStream(new FileInputStream(new File("/temp/hg/hello/.hg/" + filename)))); + DataInputStream dis = new DataInputStream(new BufferedInputStream(new FileInputStream(new File(repo + filename)))); DataInput di = dis; dis.mark(10); int versionField = di.readInt();