mercurial/revset.py
branchstable
changeset 16007 f06c53ca59a9
parent 16006 39e60576ac98
child 16096 b8be450638f6
child 16394 f3df7d34791e
--- 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: