# HG changeset patch # User Matt Mackall # Date 1130190920 25200 # Node ID 16a5d349963c71f734b1928b8ad33dc6e39f0036 # Parent c91966c3bbf55e89e0a33e6ada734b030ae35db1 Calling flush is unnecessary with bz2 decompressors and may not even exist. diff -r c91966c3bbf5 -r 16a5d349963c mercurial/commands.py --- a/mercurial/commands.py Mon Oct 24 14:54:54 2005 -0700 +++ b/mercurial/commands.py Mon Oct 24 14:55:20 2005 -0700 @@ -1700,7 +1700,6 @@ zd = bz2.BZ2Decompressor() for chunk in f: yield zd.decompress(chunk) - yield zd.flush() bzgen = bzgenerator(util.filechunkiter(f, 4096)) repo.addchangegroup(util.chunkbuffer(bzgen))