# HG changeset patch # User Martin von Zweigbergk # Date 1551562097 28800 # Node ID dcbb1b4dc93a9105b559502826b87f69e9f8c32c # Parent 82d9728ace9535057d77df6c920385861ec00072 walkfilerevs: rename filerevgen() to filerevs() since it's not a generator Differential Revision: https://phab.mercurial-scm.org/D6053 diff -r 82d9728ace95 -r dcbb1b4dc93a mercurial/cmdutil.py --- a/mercurial/cmdutil.py Sat Mar 02 13:15:53 2019 -0800 +++ b/mercurial/cmdutil.py Sat Mar 02 13:28:17 2019 -0800 @@ -1762,7 +1762,7 @@ wanted = set() copies = [] minrev, maxrev = min(revs), max(revs) - def filerevgen(filelog, last): + def filerevs(filelog, last): """ Only files, no patterns. Check the history of each file. @@ -1825,7 +1825,7 @@ ancestors = {filelog.linkrev(last)} # iterate from latest to oldest revision - for rev, flparentlinkrevs, copied in filerevgen(filelog, last): + for rev, flparentlinkrevs, copied in filerevs(filelog, last): if not follow: if rev > maxrev: continue