comparison src/org/tmatesoft/hg/repo/HgInternals.java @ 483:e31e85cf4d4c

Handle include and unset directives in config files
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Tue, 07 Aug 2012 19:14:53 +0200
parents 51d682cf9cdc
children b3c16d1aede0
comparison
equal deleted inserted replaced
482:6c67debed07e 483:e31e85cf4d4c
148 return new FileWalker(repo.getContext(), repoRoot, pathSrc, workindDirScope); 148 return new FileWalker(repo.getContext(), repoRoot, pathSrc, workindDirScope);
149 } 149 }
150 150
151 // expose otherwise package-local information primarily to use in our own o.t.hg.core package 151 // expose otherwise package-local information primarily to use in our own o.t.hg.core package
152 public static SessionContext getContext(HgRepository repo) { 152 public static SessionContext getContext(HgRepository repo) {
153 // TODO SessionContext.Source and HgRepo to implement it
153 return repo.getContext(); 154 return repo.getContext();
154 } 155 }
155 156
156 157
157 // Convenient check of revision index for validity (not all negative values are wrong as long as we use negative constants) 158 // Convenient check of revision index for validity (not all negative values are wrong as long as we use negative constants)