mercurial/subrepo.py
changeset 41627 f92844cb942c
parent 41626 2c549abc6b85
child 41628 ed046348675c
--- a/mercurial/subrepo.py	Thu Feb 07 09:40:37 2019 -0800
+++ b/mercurial/subrepo.py	Thu Feb 07 09:52:22 2019 -0800
@@ -840,8 +840,7 @@
 
     @annotatesubrepoerror
     def forget(self, match, prefix, dryrun, interactive):
-        return cmdutil.forget(self.ui, self._repo, match,
-                              self.wvfs.reljoin(prefix, self._path),
+        return cmdutil.forget(self.ui, self._repo, match, prefix,
                               True, dryrun=dryrun, interactive=interactive)
 
     @annotatesubrepoerror