comparison mercurial/revset.py @ 27293:9e06e7fb037d

grammar: favor zero, one, two over ... or no
author timeless <timeless@mozdev.org>
date Mon, 30 Nov 2015 19:30:16 +0000
parents f92053df8f0b
children ff305ab2e0d7
comparison
equal deleted inserted replaced
27292:14a83e8e1b88 27293:9e06e7fb037d
1690 synonym for the current local branch. 1690 synonym for the current local branch.
1691 """ 1691 """
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 one, two or no arguments")) 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:
1699 # i18n: "remote" is a keyword 1699 # i18n: "remote" is a keyword
1700 q = getstring(l[0], _("remote requires a string id")) 1700 q = getstring(l[0], _("remote requires a string id"))