mercurial/subrepo.py
changeset 12274 c02e1ed3d407
parent 12272 42ecd56399d7
child 12322 510afb31cf99
--- a/mercurial/subrepo.py	Mon Sep 13 13:09:30 2010 +0200
+++ b/mercurial/subrepo.py	Mon Sep 13 13:09:31 2010 +0200
@@ -267,6 +267,9 @@
     def outgoing(self, ui, dest, opts):
         return 1
 
+    def incoming(self, ui, source, opts):
+        return 1
+
 class hgsubrepo(abstractsubrepo):
     def __init__(self, ctx, path, state):
         self._path = path
@@ -400,6 +403,9 @@
     def outgoing(self, ui, dest, opts):
         return hg.outgoing(ui, self._repo, _abssource(self._repo, True), opts)
 
+    def incoming(self, ui, source, opts):
+        return hg.incoming(ui, self._repo, _abssource(self._repo, False), opts)
+
 class svnsubrepo(abstractsubrepo):
     def __init__(self, ctx, path, state):
         self._path = path