##// END OF EJS Templates
Fix "hg qnew -f foo" without -m...
Alexis S. L. Carvalho -
r2856:a3c73c96 default
parent child Browse files
Show More
@@ -561,7 +561,7 b' class queue:'
561 r = self.qrepo()
561 r = self.qrepo()
562 if r: r.add([patch])
562 if r: r.add([patch])
563 if commitfiles:
563 if commitfiles:
564 self.refresh(repo, msg=None, short=True)
564 self.refresh(repo, short=True)
565
565
566 def strip(self, repo, rev, update=True, backup="all", wlock=None):
566 def strip(self, repo, rev, update=True, backup="all", wlock=None):
567 def limitheads(chlog, stop):
567 def limitheads(chlog, stop):
@@ -921,7 +921,7 b' class queue:'
921 qp = self.qparents(repo, top)
921 qp = self.qparents(repo, top)
922 commands.dodiff(sys.stdout, self.ui, repo, qp, None, files)
922 commands.dodiff(sys.stdout, self.ui, repo, qp, None, files)
923
923
924 def refresh(self, repo, msg=None, short=False):
924 def refresh(self, repo, msg='', short=False):
925 if len(self.applied) == 0:
925 if len(self.applied) == 0:
926 self.ui.write("No patches applied\n")
926 self.ui.write("No patches applied\n")
927 return
927 return
General Comments 0
You need to be logged in to leave comments. Login now