mercurial/revset.py
changeset 27293 9e06e7fb037d
parent 27028 f92053df8f0b
child 27440 ff305ab2e0d7
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"))