Mercurial > hg-stable
changeset 2856:a3c73c9679d2
Fix "hg qnew -f foo" without -m
The refresh method assumes it has a string.
author | Alexis S. L. Carvalho <alexis@cecm.usp.br> |
---|---|
date | Sat, 12 Aug 2006 09:24:04 -0300 |
parents | cdbca3d59518 |
children | 18cf5349a361 |
files | hgext/mq.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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