mercurial/commands.py
changeset 41651 b2df5dc3ebfb
parent 41650 f8b18583049f
child 41652 6a447a3d1bd0
--- a/mercurial/commands.py	Thu Feb 07 11:15:30 2019 -0800
+++ b/mercurial/commands.py	Thu Feb 07 23:19:33 2019 -0800
@@ -4717,7 +4717,8 @@
 
     m = scmutil.match(repo[None], pats, opts)
     subrepos = opts.get('subrepos')
-    return cmdutil.remove(ui, repo, m, "", after, force, subrepos,
+    uipathfn = scmutil.getuipathfn(repo, forcerelativevalue=True)
+    return cmdutil.remove(ui, repo, m, "", uipathfn, after, force, subrepos,
                           dryrun=dryrun)
 
 @command('rename|move|mv',