Mercurial > public > mercurial-scm > hg
diff mercurial/wireproto.py @ 21064:4d9d490d7bbe
bundle2: add a ui argument to readbundle
The bundle2 unbundler needs a ui argument. We are now passing this information
to `readbundle`.
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Mon, 14 Apr 2014 15:45:30 -0400 |
parents | 7ca4f2049d3b |
children | 0a9cae236738 |
line wrap: on
line diff
--- a/mercurial/wireproto.py Mon Apr 14 15:33:50 2014 -0400 +++ b/mercurial/wireproto.py Mon Apr 14 15:45:30 2014 -0400 @@ -766,7 +766,7 @@ try: proto.getfile(fp) fp.seek(0) - gen = exchange.readbundle(fp, None) + gen = exchange.readbundle(repo.ui, fp, None) r = exchange.unbundle(repo, gen, their_heads, 'serve', proto._client()) return pushres(r)