Show More
@@ -1194,6 +1194,7 b' class queue(object):' | |||||
1194 | """options: |
|
1194 | """options: | |
1195 | msg: a string or a no-argument function returning a string |
|
1195 | msg: a string or a no-argument function returning a string | |
1196 | """ |
|
1196 | """ | |
|
1197 | opts = pycompat.byteskwargs(opts) | |||
1197 | msg = opts.get('msg') |
|
1198 | msg = opts.get('msg') | |
1198 | edit = opts.get('edit') |
|
1199 | edit = opts.get('edit') | |
1199 | editform = opts.get('editform', 'mq.qnew') |
|
1200 | editform = opts.get('editform', 'mq.qnew') | |
@@ -1633,6 +1634,7 b' class queue(object):' | |||||
1633 | self.printdiff(repo, diffopts, node1, node2, files=pats, opts=opts) |
|
1634 | self.printdiff(repo, diffopts, node1, node2, files=pats, opts=opts) | |
1634 |
|
1635 | |||
1635 | def refresh(self, repo, pats=None, **opts): |
|
1636 | def refresh(self, repo, pats=None, **opts): | |
|
1637 | opts = pycompat.byteskwargs(opts) | |||
1636 | if not self.applied: |
|
1638 | if not self.applied: | |
1637 | self.ui.write(_("no patches applied\n")) |
|
1639 | self.ui.write(_("no patches applied\n")) | |
1638 | return 1 |
|
1640 | return 1 |
General Comments 0
You need to be logged in to leave comments.
Login now