comparison cmdline/org/tmatesoft/hg/console/Main.java @ 431:12f668401613

FIXMEs: awkward API refactored, what need to be internal got hidden; public aspects got captured in slim interfaces
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Thu, 29 Mar 2012 20:54:04 +0200
parents cd658b24a620
children be697c3e951e
comparison
equal deleted inserted replaced
430:d280759c2a3f 431:12f668401613
263 } 263 }
264 264
265 private void testTreeTraversal() throws Exception { 265 private void testTreeTraversal() throws Exception {
266 File repoRoot = hgRepo.getWorkingDir(); 266 File repoRoot = hgRepo.getWorkingDir();
267 Path.Source pathSrc = new Path.SimpleSource(new PathRewrite.Composite(new RelativePathRewrite(repoRoot), hgRepo.getToRepoPathHelper())); 267 Path.Source pathSrc = new Path.SimpleSource(new PathRewrite.Composite(new RelativePathRewrite(repoRoot), hgRepo.getToRepoPathHelper()));
268 FileWalker w = new FileWalker(new BasicSessionContext(null, null), repoRoot, pathSrc); 268 FileWalker w = new FileWalker(new BasicSessionContext(null), repoRoot, pathSrc);
269 int count = 0; 269 int count = 0;
270 final long start = System.currentTimeMillis(); 270 final long start = System.currentTimeMillis();
271 while (w.hasNext()) { 271 while (w.hasNext()) {
272 count++; 272 count++;
273 w.next(); 273 w.next();