Mercurial > public > mercurial-scm > hg
comparison mercurial/commands.py @ 1993:fb6ca9801d04
show message if no changes found on incoming
author | TK Soh <teekaysoh@yahoo.com> |
---|---|
date | Fri, 24 Mar 2006 08:34:56 +0100 |
parents | 736b6c96bbbc |
children | 78ef83c9e9e1 |
comparison
equal
deleted
inserted
replaced
1992:ea8345a7a29d | 1993:fb6ca9801d04 |
---|---|
1800 ui.setconfig("ui", "remotecmd", opts['remotecmd']) | 1800 ui.setconfig("ui", "remotecmd", opts['remotecmd']) |
1801 | 1801 |
1802 other = hg.repository(ui, source) | 1802 other = hg.repository(ui, source) |
1803 incoming = repo.findincoming(other, force=opts["force"]) | 1803 incoming = repo.findincoming(other, force=opts["force"]) |
1804 if not incoming: | 1804 if not incoming: |
1805 ui.status(_("no changes found\n")) | |
1805 return | 1806 return |
1806 | 1807 |
1807 cleanup = None | 1808 cleanup = None |
1808 try: | 1809 try: |
1809 fname = opts["bundle"] | 1810 fname = opts["bundle"] |