mercurial/subrepo.py
branchstable
changeset 24875 5135c2be6959
parent 24858 a99931201d1b
child 24876 b5513ee85dd8
--- 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