Mercurial > kallithea
changeset 6677:d10306a66799
hg: remove _rcpath override
It is unclear what the purpose of this snippet was, and Mercurial 4.2 has no
_rcpath anymore.
AFAICS, since we use ui.ui() instead of ui.ui.load(), the config files are not
used anyway.
author | domruf <dominikruf@gmail.com> |
---|---|
date | Tue, 06 Jun 2017 21:42:13 +0200 |
parents | 95e149edc46c |
children | e0bd1681e56c |
files | kallithea/tests/vcs/test_hg.py |
diffstat | 1 files changed, 0 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/kallithea/tests/vcs/test_hg.py Tue Jun 13 01:11:31 2017 +0200 +++ b/kallithea/tests/vcs/test_hg.py Tue Jun 06 21:42:13 2017 +0200 @@ -12,13 +12,6 @@ from kallithea.lib.vcs.utils.compat import unittest -# Use only clean mercurial's ui -from kallithea.lib.vcs.utils.hgcompat import mercurial -mercurial.scmutil.rcpath() -if mercurial.scmutil._rcpath: - mercurial.scmutil._rcpath = mercurial.scmutil._rcpath[:1] - - class MercurialRepositoryTest(unittest.TestCase): def __check_for_existing_repo(self):