--- a/mercurial/commands.py Fri Sep 24 10:13:49 2010 +0200
+++ b/mercurial/commands.py Fri Sep 24 12:00:55 2010 +0200
@@ -2363,11 +2363,6 @@
raise util.Abort(_('cannot combine --bundle and --subrepos'))
ret = hg.incoming(ui, repo, source, opts)
- if opts.get('subrepos'):
- ctx = repo[None]
- for subpath in sorted(ctx.substate):
- sub = ctx.sub(subpath)
- ret = min(ret, sub.incoming(ui, source, opts))
return ret
def init(ui, dest=".", **opts):
@@ -2630,11 +2625,6 @@
Returns 0 if there are outgoing changes, 1 otherwise.
"""
ret = hg.outgoing(ui, repo, dest, opts)
- if opts.get('subrepos'):
- ctx = repo[None]
- for subpath in sorted(ctx.substate):
- sub = ctx.sub(subpath)
- ret = min(ret, sub.outgoing(ui, dest, opts))
return ret
def parents(ui, repo, file_=None, **opts):