diff mercurial/hgweb/hgwebdir_mod.py @ 52447:0a81f3ef054c

config: move `rcutil` module under a new `mercurial.configuration` module This new module aims at gathering configuration related code, rcutil definitely deserves to live there.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Mon, 21 Oct 2024 13:39:44 +0200
parents f4733654f144
children 24ee91ba9aa8
line wrap: on
line diff
--- a/mercurial/hgweb/hgwebdir_mod.py	Thu Dec 05 18:07:55 2024 +0100
+++ b/mercurial/hgweb/hgwebdir_mod.py	Mon Oct 21 13:39:44 2024 +0200
@@ -35,7 +35,6 @@
     pathutil,
     profiling,
     pycompat,
-    rcutil,
     registrar,
     scmutil,
     templater,
@@ -50,6 +49,7 @@
     webutil,
     wsgicgi,
 )
+from ..configuration import rcutil
 from ..utils import dateutil