mercurial/commands.py
changeset 45719 c10c87c8fe79
parent 45700 c694b1841a5e
child 45720 508dfd1c18df
--- a/mercurial/commands.py	Tue Oct 13 16:44:57 2020 -0400
+++ b/mercurial/commands.py	Wed Sep 09 17:04:44 2020 +0900
@@ -3549,9 +3549,7 @@
                 r = display(fm, fn, ctx, pstates, states)
                 found = found or r
                 if r and not diff and not all_files:
-                    skip.add(fn)
-                    if copy:
-                        skip.add(copy)
+                    searcher.skipfile(fn, rev)
         del revfiles[rev]
         # We will keep the matches dict for the duration of the window
         # clear the matches dict once the window is over