Mercurial > hg4j
diff cmdline/org/tmatesoft/hg/console/Main.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 | ae4d6604debd |
children | d2f6ab541330 |
line wrap: on
line diff
--- a/cmdline/org/tmatesoft/hg/console/Main.java Mon Aug 13 19:24:29 2012 +0200 +++ b/cmdline/org/tmatesoft/hg/console/Main.java Thu Aug 16 17:08:34 2012 +0200 @@ -154,7 +154,7 @@ // TODO as test private void readConfigFile() throws Exception { - ConfigFile configFile = new ConfigFile(HgInternals.getContext(hgRepo)); + ConfigFile configFile = new ConfigFile(hgRepo.getSessionContext()); configFile.addLocation(new File(System.getProperty("user.home"), "test-cfg/aaa/config1")); for (String s : configFile.getSectionNames()) { System.out.printf("[%s]\n", s);