diff -r 6d51a0c71d4e -r 6ffb35b2284c mercurial/commands.py --- a/mercurial/commands.py Thu Jul 26 12:07:55 2012 +0200 +++ b/mercurial/commands.py Wed Jul 25 19:34:31 2012 +0200 @@ -1050,7 +1050,7 @@ portable=True) cg = repo.getlocalbundle('bundle', outgoing) if not cg: - scmutil.nochangesfound(ui, outgoing and outgoing.excluded) + scmutil.nochangesfound(ui, repo, outgoing and outgoing.excluded) return 1 changegroup.writebundle(cg, fname, bundletype)