diff -r f388ceae2250 -r cda18ded2c48 mercurial/commands.py --- a/mercurial/commands.py Fri Jan 16 16:25:30 2015 -0800 +++ b/mercurial/commands.py Thu Jan 15 14:39:41 2015 -0800 @@ -1217,7 +1217,7 @@ scmutil.nochangesfound(ui, repo, outgoing and outgoing.excluded) return 1 - changegroup.writebundle(cg, fname, bundletype) + changegroup.writebundle(ui, cg, fname, bundletype) @command('cat', [('o', 'output', '', @@ -2165,7 +2165,7 @@ bundletype = btypes.get(bundletype) if bundletype not in changegroup.bundletypes: raise util.Abort(_('unknown bundle type specified with --type')) - changegroup.writebundle(bundle, bundlepath, bundletype) + changegroup.writebundle(ui, bundle, bundlepath, bundletype) @command('debugignore', [], '') def debugignore(ui, repo, *values, **opts):