# HG changeset patch # User Pierre-Yves David # Date 2021-07-19 00:38:40 # Node ID 95b864a670df6d0fa634d114b52d9f0c180412f5 # Parent b492bc0180116d9a0a51f4849ae175107546978a largefile: respect the `normal` signature The `parentfiledata` parameter was missing, we throw it away because I am not sure what to do with it in the largefile case. Differential Revision: https://phab.mercurial-scm.org/D11154 diff --git a/hgext/largefiles/lfutil.py b/hgext/largefiles/lfutil.py --- a/hgext/largefiles/lfutil.py +++ b/hgext/largefiles/lfutil.py @@ -168,7 +168,9 @@ class largefilesdirstate(dirstate.dirsta def set_untracked(self, f): return super(largefilesdirstate, self).set_untracked(unixpath(f)) - def normal(self, f): + def normal(self, f, parentfiledata=None): + # not sure if we should pass the `parentfiledata` down or throw it + # away. So throwing it away to stay on the safe side. return super(largefilesdirstate, self).normal(unixpath(f)) def remove(self, f):