Use FileBasedConfig Config rather than RepositoryConfig

When using the JGit config file code to read gerrit.config and
replication.config we are processing our own configuration file
and not a repository-specific configuration file.  Thus using
the type RepositoryConfig is an abuse, and we should instead
use FileBasedConfig when we must read it from disk, but in most
places the generic base class Config is much more suitable.

Signed-off-by: Shawn O. Pearce <sop@google.com>
6 files changed