--- a/mercurial/revset.py Fri Jan 27 22:29:58 2012 +0900
+++ b/mercurial/revset.py Fri Jan 27 22:29:58 2012 +0900
@@ -745,7 +745,7 @@
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 @@
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: