mercurial/repair.py
changeset 20933 d3775db748a0
parent 20927 24a443948627
child 20975 37cdf1fca1b2
--- a/mercurial/repair.py	Tue Apr 01 15:21:56 2014 -0700
+++ b/mercurial/repair.py	Tue Apr 01 15:27:53 2014 -0700
@@ -148,7 +148,8 @@
             if not repo.ui.verbose:
                 # silence internal shuffling chatter
                 repo.ui.pushbuffer()
-            repo.addchangegroup(gen, 'strip', 'bundle:' + chgrpfile, True)
+            changegroup.addchangegroup(repo, gen, 'strip',
+                                       'bundle:' + chgrpfile, True)
             if not repo.ui.verbose:
                 repo.ui.popbuffer()
             f.close()