# HG changeset patch # User Thomas Arendsen Hein # Date 1143186668 -3600 # Node ID 78ef83c9e9e1c9b5100718fce0e5b6a439aaf2e2 # Parent fb6ca9801d04a28b6f5a91fd4c924f45fd9f7d4c show message if no changes found on outgoing Now the messages for pull/push/incoming/outgoing should be consistent. diff -r fb6ca9801d04 -r 78ef83c9e9e1 mercurial/commands.py --- a/mercurial/commands.py Fri Mar 24 08:34:56 2006 +0100 +++ b/mercurial/commands.py Fri Mar 24 08:51:08 2006 +0100 @@ -2015,6 +2015,9 @@ other = hg.repository(ui, dest) o = repo.findoutgoing(other, force=opts['force']) + if not o: + ui.status(_("no changes found\n")) + return o = repo.changelog.nodesbetween(o)[0] if opts['newest_first']: o.reverse()