Show More
@@ -1692,7 +1692,7 b' def remote(repo, subset, x):' | |||||
1692 |
|
1692 | |||
1693 | from . import hg # avoid start-up nasties |
|
1693 | from . import hg # avoid start-up nasties | |
1694 | # i18n: "remote" is a keyword |
|
1694 | # i18n: "remote" is a keyword | |
1695 |
l = getargs(x, 0, 2, _("remote takes |
|
1695 | l = getargs(x, 0, 2, _("remote takes zero, one, or two arguments")) | |
1696 |
|
1696 | |||
1697 | q = '.' |
|
1697 | q = '.' | |
1698 | if len(l) > 0: |
|
1698 | if len(l) > 0: |
@@ -336,7 +336,7 b' def diff(context, mapping, args):' | |||||
336 | specifying files to include or exclude.""" |
|
336 | specifying files to include or exclude.""" | |
337 | if len(args) > 2: |
|
337 | if len(args) > 2: | |
338 | # i18n: "diff" is a keyword |
|
338 | # i18n: "diff" is a keyword | |
339 |
raise error.ParseError(_("diff expects |
|
339 | raise error.ParseError(_("diff expects zero, one, or two arguments")) | |
340 |
|
340 | |||
341 | def getpatterns(i): |
|
341 | def getpatterns(i): | |
342 | if i < len(args): |
|
342 | if i < len(args): |
General Comments 0
You need to be logged in to leave comments.
Login now