walkfilerevs: rename filerevgen() to filerevs() since it's not a generator
Differential Revision: https://phab.mercurial-scm.org/D6053
--- 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