mercurial/subrepo.py
changeset 41629 5ee3c49fc9cd
parent 41628 ed046348675c
child 41630 3d094bfaf885
--- a/mercurial/subrepo.py	Thu Feb 07 09:59:27 2019 -0800
+++ b/mercurial/subrepo.py	Thu Feb 07 10:01:55 2019 -0800
@@ -527,8 +527,7 @@
         # be used to process sibling subrepos however.
         opts = copy.copy(opts)
         opts['subrepos'] = True
-        return scmutil.addremove(self._repo, m,
-                                 self.wvfs.reljoin(prefix, self._path), opts)
+        return scmutil.addremove(self._repo, m, prefix, opts)
 
     @annotatesubrepoerror
     def cat(self, match, fm, fntemplate, prefix, **opts):