diff -r a8d3a4be066e -r b81ecf3571d5 mercurial/cmdutil.py --- a/mercurial/cmdutil.py Mon Feb 11 09:12:23 2019 -0800 +++ b/mercurial/cmdutil.py Mon Feb 11 09:40:24 2019 -0800 @@ -2401,7 +2401,7 @@ with dsguard or util.nullcontextmanager(): if dsguard: relative = scmutil.anypats(pats, opts) - uipathfn = scmutil.getuipathfn(repo, forcerelativevalue=relative) + uipathfn = scmutil.getuipathfn(repo, legacyrelativevalue=relative) if scmutil.addremove(repo, matcher, "", uipathfn, opts) != 0: raise error.Abort( _("failed to mark all new/missing files as added/removed")) @@ -2481,7 +2481,7 @@ # was specified. matcher = scmutil.match(wctx, pats, opts) relative = scmutil.anypats(pats, opts) - uipathfn = scmutil.getuipathfn(repo, forcerelativevalue=relative) + uipathfn = scmutil.getuipathfn(repo, legacyrelativevalue=relative) if (opts.get('addremove') and scmutil.addremove(repo, matcher, "", uipathfn, opts)): raise error.Abort(