Mercurial > hg4j
diff src/org/tmatesoft/hg/repo/HgRepoConfig.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 | db48a77ec8ff |
children |
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/repo/HgRepoConfig.java Wed Apr 17 16:02:52 2013 +0200 +++ b/src/org/tmatesoft/hg/repo/HgRepoConfig.java Wed Apr 17 16:06:10 2013 +0200 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011-2012 TMate Software Ltd + * Copyright (c) 2011-2013 TMate Software Ltd * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -26,12 +26,17 @@ import org.tmatesoft.hg.util.Pair; /** - * Repository-specific configuration. + * Repository configuration. * + * @see http://www.selenic.com/mercurial/hgrc.5.html * @author Artem Tikhomirov * @author TMate Software Ltd. */ public final class HgRepoConfig /*implements RepoChangeListener, perhaps, also RepoChangeNotifier? */{ + // TODO [1.2+] The name HgRepoConfig is unfortunate, we could've used this class not only for + // repository configuration but system-wide/global configuration, or user configuration (without repo), too. + // Perhaps, rename and deprecate? + /*ease access for inner classes*/ final ConfigFile config; /*package-local*/HgRepoConfig(ConfigFile configFile) {