mercurial/repair.py
changeset 11202 f974fe896921
parent 11200 12e5149cafca
child 11333 e83aff248c17
--- a/mercurial/repair.py	Thu May 20 12:21:35 2010 -0500
+++ b/mercurial/repair.py	Thu May 20 13:27:28 2010 -0500
@@ -136,10 +136,15 @@
             raise
 
         if saveheads or extranodes:
-            ui.status(_("adding branch\n"))
+            ui.note(_("adding branch\n"))
             f = open(chgrpfile, "rb")
             gen = changegroup.readbundle(f, chgrpfile)
+            if not repo.ui.verbose:
+                # silence internal shuffling chatter
+                repo.ui.pushbuffer()
             repo.addchangegroup(gen, 'strip', 'bundle:' + chgrpfile, True)
+            if not repo.ui.verbose:
+                repo.ui.popbuffer()
             f.close()
             if backup != "strip":
                 os.unlink(chgrpfile)