diff mercurial/repair.py @ 23895:cda18ded2c48

changegroup.writebundle: provide ui The next diff will add support for writing bundle2 files to writebundle, but the bundle2 generator wants access to a ui object. This changes the signature and callsites to pass one in.
author Eric Sumner <ericsumner@fb.com>
date Thu, 15 Jan 2015 14:39:41 -0800
parents 37a92908a382
children b21c2e0ee8a3
line wrap: on
line diff
--- a/mercurial/repair.py	Fri Jan 16 16:25:30 2015 -0800
+++ b/mercurial/repair.py	Thu Jan 15 14:39:41 2015 -0800
@@ -31,7 +31,7 @@
         bundletype = "HG10BZ"
     else:
         bundletype = "HG10UN"
-    return changegroup.writebundle(cg, name, bundletype, vfs)
+    return changegroup.writebundle(repo.ui, cg, name, bundletype, vfs)
 
 def _collectfiles(repo, striprev):
     """find out the filelogs affected by the strip"""