comparison test/org/tmatesoft/hg/test/TestCheckout.java @ 608:e1b29756f901

Clean, organize and resolve some TODOs and FIXMEs: minor refactorings and comments
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Tue, 07 May 2013 21:27:51 +0200
parents bd5926e24aa3
children fedc54356091
comparison
equal deleted inserted replaced
607:66f1cc23b906 608:e1b29756f901
122 public void testCheckoutLinkAndExec() throws Exception { 122 public void testCheckoutLinkAndExec() throws Exception {
123 File testRepoLoc = cloneRepoToTempLocation("test-flags", "test-checkout-flags", true); 123 File testRepoLoc = cloneRepoToTempLocation("test-flags", "test-checkout-flags", true);
124 repo = new HgLookup().detect(testRepoLoc); 124 repo = new HgLookup().detect(testRepoLoc);
125 new HgCheckoutCommand(repo).clean(true).changeset(0).execute(); 125 new HgCheckoutCommand(repo).clean(true).changeset(0).execute();
126 126
127 FileWalker fw = new FileWalker(repo.getSessionContext(), testRepoLoc, new Path.SimpleSource()); 127 FileWalker fw = new FileWalker(repo, testRepoLoc, new Path.SimpleSource(), null);
128 int execFound, linkFound, regularFound; 128 int execFound, linkFound, regularFound;
129 execFound = linkFound = regularFound = 0; 129 execFound = linkFound = regularFound = 0;
130 while(fw.hasNext()) { 130 while(fw.hasNext()) {
131 fw.next(); 131 fw.next();
132 FileInfo fi = fw.file(); 132 FileInfo fi = fw.file();