public Internals(HgRepository hgRepo, File hgDir, ImplAccess implementationAccess) throws HgRuntimeException {
repo = hgRepo;
repoDir = hgDir;
implAccess = implementationAccess;
isCaseSensitiveFileSystem = !runningOnWindows();
SessionContext ctx = repo.getSessionContext();
dataAccess = new DataAccessProvider(ctx);
RepoInitializer repoInit = new RepoInitializer().initRequiresFromFile(repoDir);
requiresFlags = repoInit.getRequires();
dataPathHelper = repoInit.buildDataFilesHelper(getSessionContext());
repoPathHelper = repoInit.buildStoreFilesHelper();