mercurial/revset.py
branchstable
changeset 15965 57738b9130ae
parent 15964 6e37b8282aa2
child 15966 610c4434973b
--- a/mercurial/revset.py	Fri Jan 20 23:05:04 2012 -0600
+++ b/mercurial/revset.py	Fri Jan 20 23:10:13 2012 -0600
@@ -462,16 +462,6 @@
     s |= set([p])
     return [r for r in subset if r in s]
 
-def followfile(repo, subset, x):
-    """``follow()``
-    An alias for ``::.`` (ancestors of the working copy's first parent).
-    """
-    # i18n: "follow" is a keyword
-    getargs(x, 0, 0, _("follow takes no arguments"))
-    p = repo['.'].rev()
-    s = set(repo.changelog.ancestors(p)) | set([p])
-    return [r for r in subset if r in s]
-
 def getall(repo, subset, x):
     """``all()``
     All changesets, the same as ``0:tip``.