Mercurial > public > mercurial-scm > hg-stable
diff mercurial/repair.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 | 445472225ccd |
line wrap: on
line diff
--- a/mercurial/repair.py Mon Apr 14 15:33:50 2014 -0400 +++ b/mercurial/repair.py Mon Apr 14 15:45:30 2014 -0400 @@ -147,7 +147,7 @@ if saveheads or savebases: ui.note(_("adding branch\n")) f = vfs.open(chgrpfile, "rb") - gen = exchange.readbundle(f, chgrpfile, vfs) + gen = exchange.readbundle(ui, f, chgrpfile, vfs) if not repo.ui.verbose: # silence internal shuffling chatter repo.ui.pushbuffer()