diff -r 6e37b8282aa2 -r 57738b9130ae mercurial/revset.py --- 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``.