mq: use ui.status when pushing and popping patches
authorMartin Geisler <mg@lazybytes.net>
Fri, 10 Jul 2009 23:24:35 +0200
changeset 9111 ac3f1e6696eb
parent 9110 561ff8d9e4f0
child 9112 54eb3782d32f
mq: use ui.status when pushing and popping patches
hgext/mq.py
--- a/hgext/mq.py	Thu Jul 09 23:59:03 2009 +0200
+++ b/hgext/mq.py	Fri Jul 10 23:24:35 2009 +0200
@@ -555,7 +555,7 @@
             if not pushable:
                 self.explain_pushable(patchname, all_patches=True)
                 continue
-            self.ui.warn(_("applying %s\n") % patchname)
+            self.ui.status(_("applying %s\n") % patchname)
             pf = os.path.join(patchdir, patchname)
 
             try:
@@ -1081,7 +1081,7 @@
                     repo.dirstate.forget(f)
                 repo.dirstate.setparents(qp, nullid)
             for patch in reversed(self.applied[start:end]):
-                self.ui.warn(_("popping %s\n") % patch.name)
+                self.ui.status(_("popping %s\n") % patch.name)
             del self.applied[start:end]
             self.strip(repo, rev, update=False, backup='strip')
             if len(self.applied):