diff -r 89fe9921511f -r 5135c2be6959 mercurial/subrepo.py --- a/mercurial/subrepo.py Mon Apr 27 20:25:09 2015 -0400 +++ b/mercurial/subrepo.py Mon Apr 27 21:15:25 2015 -0400 @@ -873,6 +873,10 @@ @annotatesubrepoerror def outgoing(self, ui, dest, opts): + if 'rev' in opts or 'branch' in opts: + opts = copy.copy(opts) + opts.pop('rev', None) + opts.pop('branch', None) return hg.outgoing(ui, self._repo, _abssource(self._repo, True), opts) @annotatesubrepoerror