mercurial/revset.py
branchstable
changeset 14715 a97ebfec8c29
parent 14701 4b93bd041772
child 14717 c8ee2729e89f
equal deleted inserted replaced
14713:88a53081fb21 14715:a97ebfec8c29
   423         s = set(repo.changelog.ancestors(p))
   423         s = set(repo.changelog.ancestors(p))
   424 
   424 
   425     s |= set([p])
   425     s |= set([p])
   426     return [r for r in subset if r in s]
   426     return [r for r in subset if r in s]
   427 
   427 
   428 def followfile(repo, subset, f):
   428 def followfile(repo, subset, x):
   429     """``follow()``
   429     """``follow()``
   430     An alias for ``::.`` (ancestors of the working copy's first parent).
   430     An alias for ``::.`` (ancestors of the working copy's first parent).
   431     """
   431     """
   432     # i18n: "follow" is a keyword
   432     # i18n: "follow" is a keyword
   433     getargs(x, 0, 0, _("follow takes no arguments"))
   433     getargs(x, 0, 0, _("follow takes no arguments"))