diff mercurial/obsolete.py @ 51631:bf1d26bd5b6a

obsolete: quote the feature name This makes it at least somewhat clearer that hg is talking about some specific feature and not just outdated code.
author Joerg Sonnenberger <joerg@bec.de>
date Mon, 10 Jun 2024 13:45:57 +0200
parents 80bda4254b84
children f28c52a9f7b4
line wrap: on
line diff
--- a/mercurial/obsolete.py	Mon Jun 10 12:12:56 2024 +0200
+++ b/mercurial/obsolete.py	Mon Jun 10 13:45:57 2024 +0200
@@ -818,7 +818,7 @@
     store = obsstore(repo, repo.svfs, readonly=readonly, **kwargs)
     if store and readonly:
         ui.warn(
-            _(b'obsolete feature not enabled but %i markers found!\n')
+            _(b'"obsolete" feature not enabled but %i markers found!\n')
             % len(list(store))
         )
     return store