diff -r f2fc34e88238 -r 7621ab4005bf mercurial/ui.py --- 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