mercurial/utils/urlutil.py
changeset 50207 f35cf52acabd
parent 49845 e0c0545e2e55
child 50615 9e69d9d6f4cf
child 50692 9d4a2ea3dcb9
--- a/mercurial/utils/urlutil.py	Thu Feb 23 15:27:42 2023 +0100
+++ b/mercurial/utils/urlutil.py	Thu Feb 23 15:32:27 2023 +0100
@@ -742,14 +742,16 @@
 }
 
 
-@pathsuboption(b'delta-reuse-policy', b'delta_reuse_policy')
+@pathsuboption(b'pulled-delta-reuse-policy', b'delta_reuse_policy')
 def delta_reuse_policy(ui, path, value):
     if value not in DELTA_REUSE_POLICIES:
         path_name = path.name
         if path_name is None:
             # this is an "anonymous" path, config comes from the global one
             path_name = b'*'
-        msg = _(b'(paths.%s:delta-reuse-policy has unknown value: "%s")\n')
+        msg = _(
+            b'(paths.%s:pulled-delta-reuse-policy has unknown value: "%s")\n'
+        )
         msg %= (path_name, value)
         ui.warn(msg)
     return DELTA_REUSE_POLICIES.get(value)