Mercurial > jhg
diff src/org/tmatesoft/hg/repo/HgRepository.java @ 579:36e36b926747
Provide means to read user-specific configuration, with no specific repository selected
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Wed, 17 Apr 2013 16:06:10 +0200 |
parents | e4ee4bf4c7d0 |
children | e447384f3771 |
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/repo/HgRepository.java Wed Apr 17 16:02:52 2013 +0200 +++ b/src/org/tmatesoft/hg/repo/HgRepository.java Wed Apr 17 16:06:10 2013 +0200 @@ -324,6 +324,10 @@ } + /** + * Repository-specific configuration. + * @return access to configuration options, never <code>null</code> + */ public HgRepoConfig getConfiguration() /* XXX throws HgInvalidControlFileException? Description of the exception suggests it is only for files under ./hg/*/ { if (repoConfig == null) { try {