mercurial/ui.py
changeset 46659 7621ab4005bf
parent 46365 839cacdff919
child 46661 a3dced4b7b04
--- a/mercurial/ui.py	Mon Mar 01 14:44:29 2021 -0800
+++ b/mercurial/ui.py	Sat Jan 30 00:32:42 2021 +0100
@@ -554,7 +554,7 @@
                     p = util.expandpath(p)
                     if not util.hasscheme(p) and not os.path.isabs(p):
                         p = os.path.normpath(os.path.join(root, p))
-                    c.set(b"paths", n, p)
+                    c.alter(b"paths", n, p)
 
         if section in (None, b'ui'):
             # update ui options