mercurial/cmdutil.py
changeset 41838 dcbb1b4dc93a
parent 41759 aaad36b88298
child 41985 b1bc6e5f5249
--- 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