perf-tags: fix the --clear-fnode-cache-rev code stable
authorPierre-Yves David <pierre-yves.david@octobus.net>
Sun, 03 Dec 2023 04:43:08 +0100
branchstable
changeset 51151 2705748ba166
parent 51150 8b3cc36009ec
child 51152 6a78b5a1d1ab
perf-tags: fix the --clear-fnode-cache-rev code It seems like this code never run?
contrib/perf.py
--- a/contrib/perf.py	Mon Dec 04 17:20:31 2023 +0000
+++ b/contrib/perf.py	Sun Dec 03 04:43:08 2023 +0100
@@ -986,7 +986,7 @@
 
     clear_revs = []
     if clear_fnode_revs:
-        clear_revs.extends(scmutil.revrange(repo, clear_fnode_revs))
+        clear_revs.extend(scmutil.revrange(repo, clear_fnode_revs))
 
     if update_last:
         revset = b'last(all(), %d)' % update_last