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
--- a/hgext/largefiles/lfutil.py Mon Jul 19 02:05:24 2021 +0200
+++ b/hgext/largefiles/lfutil.py Mon Jul 19 02:38:40 2021 +0200
@@ -168,7 +168,9 @@
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):