branch | stable |
changeset 10616 | 65b178f30eae |
parent 10596 | 7648f32713f2 |
child 10617 | da7662ea741f |
child 10637 | 7ce62865d72a |
--- a/mercurial/commands.py Tue Mar 09 16:03:57 2010 +0100 +++ b/mercurial/commands.py Tue Mar 09 20:38:23 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: