diff -r ca7a57464fb3 -r f117a0ba5289 mercurial/hg.py --- a/mercurial/hg.py Wed Apr 16 00:37:24 2014 +0900 +++ b/mercurial/hg.py Wed Apr 16 00:37:24 2014 +0900 @@ -585,7 +585,6 @@ o = outgoing.missing if not o: scmutil.nochangesfound(repo.ui, repo, outgoing.excluded) - return None return o def outgoing(ui, repo, dest, opts): @@ -600,7 +599,7 @@ limit = cmdutil.loglimit(opts) o = _outgoing(ui, repo, dest, opts) - if o is None: + if not o: return recurse() if opts.get('newest_first'):