Mercurial > kallithea
changeset 6775:d9cd86e552b5 stable
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 | cce5a8388cde |
children | 687152f4f052 |
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 May 30 02:59:45 2017 +0200 +++ b/kallithea/tests/vcs/test_hg.py Tue Jun 06 21:42:13 2017 +0200 @@ -8,13 +8,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):