mercurial/subrepo.py
changeset 46930 0afe96e374a7
parent 46907 ffd3e823a7e5
child 46950 279df499511e
--- a/mercurial/subrepo.py	Thu Apr 15 09:23:19 2021 +0200
+++ b/mercurial/subrepo.py	Thu Apr 15 09:23:28 2021 +0200
@@ -873,7 +873,8 @@
             opts = copy.copy(opts)
             opts.pop(b'rev', None)
             opts.pop(b'branch', None)
-        return hg.outgoing(ui, self._repo, _abssource(self._repo, True), opts)
+        subpath = subrepoutil.repo_rel_or_abs_source(self._repo)
+        return hg.outgoing(ui, self._repo, dest, opts, subpath=subpath)
 
     @annotatesubrepoerror
     def incoming(self, ui, source, opts):