Skip to content
Snippets Groups Projects
Commit 9003e652 authored by Pierre-Yves David's avatar Pierre-Yves David :octopus:
Browse files

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
parent 9a6b409b
No related branches found
No related tags found
No related merge requests found
......@@ -305,7 +305,7 @@
if self._changes is not None:
return self._changes
if self._cpsd:
changes = metadata.decode_files_sidedata(self, self._sidedata)
changes = metadata.decode_files_sidedata(self._sidedata)
else:
changes = metadata.ChangingFiles(
touched=self.files or (),
......
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment