Mercurial > hg4j
comparison src/com/tmate/hgkit/ll/HgDirstate.java @ 14:442dc6ee647b
Show correct time
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Sun, 26 Dec 2010 14:56:08 +0100 |
parents | 181fccc176ef |
children | 02ee376bee79 |
comparison
equal
deleted
inserted
replaced
13:df8c67f3006a | 14:442dc6ee647b |
---|---|
94 @SuppressWarnings("unchecked") | 94 @SuppressWarnings("unchecked") |
95 List<Record>[] all = new List[] { normal, added, removed, merged }; | 95 List<Record>[] all = new List[] { normal, added, removed, merged }; |
96 char[] x = new char[] {'n', 'a', 'r', 'm' }; | 96 char[] x = new char[] {'n', 'a', 'r', 'm' }; |
97 for (int i = 0; i < all.length; i++) { | 97 for (int i = 0; i < all.length; i++) { |
98 for (Record r : all[i]) { | 98 for (Record r : all[i]) { |
99 System.out.printf("%c %3o%6d %30tc\t\t%s", x[i], r.mode, r.size, (long) r.time, r.name1); | 99 System.out.printf("%c %3o%6d %30tc\t\t%s", x[i], r.mode, r.size, (long) r.time * 1000, r.name1); |
100 if (r.name2 != null) { | 100 if (r.name2 != null) { |
101 System.out.printf(" --> %s", r.name2); | 101 System.out.printf(" --> %s", r.name2); |
102 } | 102 } |
103 System.out.println(); | 103 System.out.println(); |
104 } | 104 } |