# HG changeset patch # User domruf # Date 1496778133 -7200 # Node ID d10306a667998930a47025ee97308ecec46d2379 # Parent 95e149edc46c3422c34fd7c95cd7e8e0ce6b58a2 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. diff -r 95e149edc46c -r d10306a66799 kallithea/tests/vcs/test_hg.py --- 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):