hgext/mq.py
changeset 2856 a3c73c9679d2
parent 2855 cdbca3d59518
child 2859 345bac2bc4ec
--- a/hgext/mq.py	Sat Aug 12 11:53:12 2006 -0700
+++ b/hgext/mq.py	Sat Aug 12 09:24:04 2006 -0300
@@ -561,7 +561,7 @@
         r = self.qrepo()
         if r: r.add([patch])
         if commitfiles:
-            self.refresh(repo, msg=None, short=True)
+            self.refresh(repo, short=True)
 
     def strip(self, repo, rev, update=True, backup="all", wlock=None):
         def limitheads(chlog, stop):
@@ -921,7 +921,7 @@
         qp = self.qparents(repo, top)
         commands.dodiff(sys.stdout, self.ui, repo, qp, None, files)
 
-    def refresh(self, repo, msg=None, short=False):
+    def refresh(self, repo, msg='', short=False):
         if len(self.applied) == 0:
             self.ui.write("No patches applied\n")
             return