diff mercurial/exchange.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 f9a9a6d63e89
line wrap: on
line diff
--- a/mercurial/exchange.py	Mon Apr 14 15:33:50 2014 -0400
+++ b/mercurial/exchange.py	Mon Apr 14 15:45:30 2014 -0400
@@ -11,7 +11,7 @@
 import util, scmutil, changegroup, base85
 import discovery, phases, obsolete, bookmarks, bundle2
 
-def readbundle(fh, fname, vfs=None):
+def readbundle(ui, fh, fname, vfs=None):
     header = changegroup.readexactly(fh, 6)
 
     if not fname: