Mercurial > hg4j
diff test/org/tmatesoft/hg/test/TestFileFlags.java @ 490:b3c16d1aede0
Refactoring: move HgRepository's implementation aspects to Internals (which is now its imlementation counterpart and primary repository class to be used by other parts of the library)
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Thu, 16 Aug 2012 17:08:34 +0200 |
parents | 59b7c817bc4d |
children | e1b29756f901 |
line wrap: on
line diff
--- a/test/org/tmatesoft/hg/test/TestFileFlags.java Mon Aug 13 19:24:29 2012 +0200 +++ b/test/org/tmatesoft/hg/test/TestFileFlags.java Thu Aug 16 17:08:34 2012 +0200 @@ -28,7 +28,6 @@ import org.tmatesoft.hg.internal.Internals; import org.tmatesoft.hg.internal.RelativePathRewrite; import org.tmatesoft.hg.repo.HgDataFile; -import org.tmatesoft.hg.repo.HgInternals; import org.tmatesoft.hg.repo.HgManifest.Flags; import org.tmatesoft.hg.repo.HgRepository; import org.tmatesoft.hg.util.FileInfo; @@ -66,7 +65,7 @@ public void testFlagsInWorkingCopy() throws Exception { File repoRoot = repo.getWorkingDir(); Path.Source pathSrc = new Path.SimpleSource(new PathRewrite.Composite(new RelativePathRewrite(repoRoot), repo.getToRepoPathHelper())); - FileWalker fw = new FileWalker(HgInternals.getContext(repo), repoRoot, pathSrc); + FileWalker fw = new FileWalker(repo.getSessionContext(), repoRoot, pathSrc); if (Internals.runningOnWindows()) { System.out.println("Executing tests on Windows, no actual file flags in working area are checked");