--- a/mercurial/subrepo.py Mon Sep 13 13:09:24 2010 +0200
+++ b/mercurial/subrepo.py Mon Sep 13 13:09:26 2010 +0200
@@ -264,6 +264,9 @@
def diff(self, diffopts, node2, match, prefix, **opts):
pass
+ def outgoing(self, ui, dest, opts):
+ return 1
+
class hgsubrepo(abstractsubrepo):
def __init__(self, ctx, path, state):
self._path = path
@@ -394,6 +397,9 @@
other = hg.repository(self._repo.ui, dsturl)
return self._repo.push(other, force)
+ def outgoing(self, ui, dest, opts):
+ return hg.outgoing(ui, self._repo, _abssource(self._repo, True), opts)
+
class svnsubrepo(abstractsubrepo):
def __init__(self, ctx, path, state):
self._path = path