mercurial/subrepo.py
changeset 41628 ed046348675c
parent 41627 f92844cb942c
child 41629 5ee3c49fc9cd
--- a/mercurial/subrepo.py	Thu Feb 07 09:52:22 2019 -0800
+++ b/mercurial/subrepo.py	Thu Feb 07 09:59:27 2019 -0800
@@ -518,9 +518,7 @@
 
     @annotatesubrepoerror
     def add(self, ui, match, prefix, explicitonly, **opts):
-        return cmdutil.add(ui, self._repo, match,
-                           self.wvfs.reljoin(prefix, self._path),
-                           explicitonly, **opts)
+        return cmdutil.add(ui, self._repo, match, prefix, explicitonly, **opts)
 
     @annotatesubrepoerror
     def addremove(self, m, prefix, opts):