Mercurial > hg4j
changeset 14:442dc6ee647b
Show correct time
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Sun, 26 Dec 2010 14:56:08 +0100 |
parents | df8c67f3006a |
children | 865bf07f381f |
files | design.txt src/com/tmate/hgkit/ll/HgDirstate.java |
diffstat | 2 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/design.txt Sun Dec 26 03:21:17 2010 +0100 +++ b/design.txt Sun Dec 26 14:56:08 2010 +0100 @@ -24,12 +24,14 @@ + command-line samples (-R, filenames) (Log & Cat) to show on any repo +buildfile + run samples *input stream impl + lifecycle. Step forward with FileChannel and ByteBuffer, although questionable accomplishment (looks bit complicated, cumbersome) ++ dirstate.mtime calculate sha1 digest for file to see I can deal with nodeid DataAccess - collect debug info (buffer misses, file size/total read operations) to find out better strategy to buffer size detection. delta merge Changeset to get index (local revision number) - +.hgignored processing +RevisionWalker (on manifest) and WorkingCopyWalker (io.File) talking to ? and/or dirstate >>>> Effective file read/data access
--- a/src/com/tmate/hgkit/ll/HgDirstate.java Sun Dec 26 03:21:17 2010 +0100 +++ b/src/com/tmate/hgkit/ll/HgDirstate.java Sun Dec 26 14:56:08 2010 +0100 @@ -96,7 +96,7 @@ char[] x = new char[] {'n', 'a', 'r', 'm' }; for (int i = 0; i < all.length; i++) { for (Record r : all[i]) { - System.out.printf("%c %3o%6d %30tc\t\t%s", x[i], r.mode, r.size, (long) r.time, r.name1); + System.out.printf("%c %3o%6d %30tc\t\t%s", x[i], r.mode, r.size, (long) r.time * 1000, r.name1); if (r.name2 != null) { System.out.printf(" --> %s", r.name2); }