Mercurial > hg4j
comparison cmdline/org/tmatesoft/hg/console/Main.java @ 244:4b661efb9374
Use updated location of cache files (cache/ folder instead of .cache filename extension). Provide means to update (write down) cache for subsequent uses
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Tue, 12 Jul 2011 02:48:34 +0200 |
parents | 0e01f9182e16 |
children | 3fbfce107f94 |
comparison
equal
deleted
inserted
replaced
243:0e01f9182e16 | 244:4b661efb9374 |
---|---|
70 System.out.println("REPO:" + hgRepo.getLocation()); | 70 System.out.println("REPO:" + hgRepo.getLocation()); |
71 } | 71 } |
72 | 72 |
73 public static void main(String[] args) throws Exception { | 73 public static void main(String[] args) throws Exception { |
74 Main m = new Main(args); | 74 Main m = new Main(args); |
75 m.testRevisionMap(); | 75 // m.testRevisionMap(); |
76 // m.testSubrepos(); | 76 // m.testSubrepos(); |
77 // m.testReadWorkingCopy(); | 77 // m.testReadWorkingCopy(); |
78 // m.testParents(); | 78 // m.testParents(); |
79 // m.testEffectiveFileLog(); | 79 // m.testEffectiveFileLog(); |
80 // m.testCatAtCsetRevision(); | 80 // m.testCatAtCsetRevision(); |
81 // m.testMergeState(); | 81 // m.testMergeState(); |
82 // m.testFileStatus(); | 82 // m.testFileStatus(); |
83 // m.dumpBranches(); | 83 m.dumpBranches(); |
84 // m.inflaterLengthException(); | 84 // m.inflaterLengthException(); |
85 // m.dumpIgnored(); | 85 // m.dumpIgnored(); |
86 // m.dumpDirstate(); | 86 // m.dumpDirstate(); |
87 // m.testStatusInternals(); | 87 // m.testStatusInternals(); |
88 // m.catCompleteHistory(); | 88 // m.catCompleteHistory(); |
257 // System.out.print(" "); | 257 // System.out.print(" "); |
258 // System.out.print(bi.getStart()); | 258 // System.out.print(bi.getStart()); |
259 System.out.print(" "); | 259 System.out.print(" "); |
260 System.out.println(bi.getHeads()); | 260 System.out.println(bi.getHeads()); |
261 } | 261 } |
262 b.writeCache(); | |
262 // final long start = System.currentTimeMillis(); | 263 // final long start = System.currentTimeMillis(); |
263 // for (int i = 0; i < 10; i++) { | 264 // for (int i = 0; i < 10; i++) { |
264 // b.collect(ProgressSupport.Factory.get(null)); | 265 // b.collect(ProgressSupport.Factory.get(null)); |
265 // } | 266 // } |
266 // System.out.println("10:" + (System.currentTimeMillis() - start)); | 267 // System.out.println("10:" + (System.currentTimeMillis() - start)); |