diff mercurial/metadata.py @ 45635:9003e6524f78

changing-files: drop the now useless changelogrevision argument Since all filename are now included in the sidedata block, we no longer need to decode the `files` from the revision. Differential Revision: https://phab.mercurial-scm.org/D9091
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Tue, 15 Sep 2020 10:49:50 +0200
parents 9a6b409b8ebc
children a475db79d84d
line wrap: on
line diff
--- a/mercurial/metadata.py	Tue Sep 15 10:55:17 2020 +0200
+++ b/mercurial/metadata.py	Tue Sep 15 10:49:50 2020 +0200
@@ -430,7 +430,7 @@
     return {sidedatamod.SD_FILES: b''.join(chunks)}
 
 
-def decode_files_sidedata(changelogrevision, sidedata):
+def decode_files_sidedata(sidedata):
     md = ChangingFiles()
     raw = sidedata.get(sidedatamod.SD_FILES)