diff -r faa3d6af154e -r a2f139d25845 mercurial/archival.py --- a/mercurial/archival.py Sat Dec 13 22:44:22 2014 -0500 +++ b/mercurial/archival.py Sat Dec 13 14:53:46 2014 -0500 @@ -304,7 +304,7 @@ for subpath in sorted(ctx.substate): sub = ctx.sub(subpath) submatch = matchmod.narrowmatcher(subpath, matchfn) - total += sub.archive(repo.ui, archiver, prefix, submatch) + total += sub.archive(archiver, prefix, submatch) if total == 0: raise error.Abort(_('no files match the archive pattern'))