diff --git a/mercurial/revset.py b/mercurial/revset.py --- a/mercurial/revset.py +++ b/mercurial/revset.py @@ -745,7 +745,7 @@ def public(repo, subset, x): return [r for r in subset if repo._phaserev[r] == phases.public] def remote(repo, subset, x): - """``remote([id], [path])`` + """``remote([id [,path]])`` Local revision that corresponds to the given identifier in a remote repository, if present. Here, the '.' identifier is a synonym for the current local branch. @@ -753,7 +753,7 @@ def remote(repo, subset, x): import hg # avoid start-up nasties # i18n: "remote" is a keyword - l = getargs(x, 0, 2, _("remote takes one or two arguments")) + l = getargs(x, 0, 2, _("remote takes one, two or no arguments")) q = '.' if len(l) > 0: