##// END OF EJS Templates
revset: fix documentation for 'remote()' predicate...
FUJIWARA Katsunori -
r16007:f06c53ca stable
parent child Browse files
Show More
@@ -745,7 +745,7 b' def public(repo, subset, x):'
745 return [r for r in subset if repo._phaserev[r] == phases.public]
745 return [r for r in subset if repo._phaserev[r] == phases.public]
746
746
747 def remote(repo, subset, x):
747 def remote(repo, subset, x):
748 """``remote([id], [path])``
748 """``remote([id [,path]])``
749 Local revision that corresponds to the given identifier in a
749 Local revision that corresponds to the given identifier in a
750 remote repository, if present. Here, the '.' identifier is a
750 remote repository, if present. Here, the '.' identifier is a
751 synonym for the current local branch.
751 synonym for the current local branch.
@@ -753,7 +753,7 b' def remote(repo, subset, x):'
753
753
754 import hg # avoid start-up nasties
754 import hg # avoid start-up nasties
755 # i18n: "remote" is a keyword
755 # i18n: "remote" is a keyword
756 l = getargs(x, 0, 2, _("remote takes one or two arguments"))
756 l = getargs(x, 0, 2, _("remote takes one, two or no arguments"))
757
757
758 q = '.'
758 q = '.'
759 if len(l) > 0:
759 if len(l) > 0:
General Comments 0
You need to be logged in to leave comments. Login now