comparison src/org/tmatesoft/hg/repo/HgInternals.java @ 467:51d682cf9cdc

Cleaned experimental tag and updated comments/javadoc
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Fri, 22 Jun 2012 17:39:31 +0200
parents 6865eb742883
children e31e85cf4d4c
comparison
equal deleted inserted replaced
466:3ace1fc95d0a 467:51d682cf9cdc
137 } catch (UnknownHostException ex) { 137 } catch (UnknownHostException ex) {
138 return username; 138 return username;
139 } 139 }
140 } 140 }
141 141
142 @Experimental(reason="Don't want to expose io.File from HgRepository; need to create FileIterator for working dir. Need a place to keep that code")
143 /*package-local*/ FileIterator createWorkingDirWalker(Path.Matcher workindDirScope) { 142 /*package-local*/ FileIterator createWorkingDirWalker(Path.Matcher workindDirScope) {
144 File repoRoot = repo.getWorkingDir(); 143 File repoRoot = repo.getWorkingDir();
145 Path.Source pathSrc = new Path.SimpleSource(new PathRewrite.Composite(new RelativePathRewrite(repoRoot), repo.getToRepoPathHelper())); 144 Path.Source pathSrc = new Path.SimpleSource(new PathRewrite.Composite(new RelativePathRewrite(repoRoot), repo.getToRepoPathHelper()));
146 // Impl note: simple source is enough as files in the working dir are all unique 145 // Impl note: simple source is enough as files in the working dir are all unique
147 // even if they might get reused (i.e. after FileIterator#reset() and walking once again), 146 // even if they might get reused (i.e. after FileIterator#reset() and walking once again),