diff mercurial/commands.py @ 10617:da7662ea741f

merge with stable
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Tue, 09 Mar 2010 20:47:35 +0100
parents e764f24a45ee 65b178f30eae
children d3f27d15c9cb
line wrap: on
line diff
--- a/mercurial/commands.py	Tue Mar 09 19:04:18 2010 +0100
+++ b/mercurial/commands.py	Tue Mar 09 20:47:35 2010 +0100
@@ -564,6 +564,10 @@
         revs, checkout = hg.addbranchrevs(repo, other, branches, revs)
         o = repo.findoutgoing(other, force=opts.get('force'))
 
+    if not o:
+        ui.status(_("no changes found\n"))
+        return
+
     if revs:
         cg = repo.changegroupsubset(o, revs, 'bundle')
     else: