Mercurial > jhg
diff src/org/tmatesoft/hg/repo/HgRepository.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 | 6c67debed07e |
children | ae4d6604debd |
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/repo/HgRepository.java Tue Aug 07 14:27:13 2012 +0200 +++ b/src/org/tmatesoft/hg/repo/HgRepository.java Tue Aug 07 19:14:53 2012 +0200 @@ -325,7 +325,7 @@ } catch (IOException ex) { String m = "Errors while reading user configuration file"; getContext().getLog().dump(getClass(), Warn, ex, m); - return new HgRepoConfig(new ConfigFile()); // empty config, do not cache, allow to try once again + return new HgRepoConfig(new ConfigFile(getContext())); // empty config, do not cache, allow to try once again //throw new HgInvalidControlFileException(m, ex, null); } }