comparison mercurial/commands.py @ 1994:78ef83c9e9e1

show message if no changes found on outgoing Now the messages for pull/push/incoming/outgoing should be consistent.
author Thomas Arendsen Hein <thomas@intevation.de>
date Fri, 24 Mar 2006 08:51:08 +0100
parents fb6ca9801d04
children 2da2d46862fb
comparison
equal deleted inserted replaced
1993:fb6ca9801d04 1994:78ef83c9e9e1
2013 if opts['remotecmd']: 2013 if opts['remotecmd']:
2014 ui.setconfig("ui", "remotecmd", opts['remotecmd']) 2014 ui.setconfig("ui", "remotecmd", opts['remotecmd'])
2015 2015
2016 other = hg.repository(ui, dest) 2016 other = hg.repository(ui, dest)
2017 o = repo.findoutgoing(other, force=opts['force']) 2017 o = repo.findoutgoing(other, force=opts['force'])
2018 if not o:
2019 ui.status(_("no changes found\n"))
2020 return
2018 o = repo.changelog.nodesbetween(o)[0] 2021 o = repo.changelog.nodesbetween(o)[0]
2019 if opts['newest_first']: 2022 if opts['newest_first']:
2020 o.reverse() 2023 o.reverse()
2021 displayer = show_changeset(ui, repo, opts) 2024 displayer = show_changeset(ui, repo, opts)
2022 for n in o: 2025 for n in o: