remotefilelog: add 'changelog' arg to shallowcg1packer.generate (
issue6269)
This cause traceback on widening using narrow extension when remotefilelog
is enabled.
Differential Revision: https://phab.mercurial-scm.org/D8134
--- a/hgext/remotefilelog/shallowbundle.py Fri Feb 28 11:22:47 2020 +0100
+++ b/hgext/remotefilelog/shallowbundle.py Wed Feb 19 13:39:00 2020 +0530
@@ -54,12 +54,12 @@
class shallowcg1packer(changegroup.cgpacker):
- def generate(self, commonrevs, clnodes, fastpathlinkrev, source):
+ def generate(self, commonrevs, clnodes, fastpathlinkrev, source, **kwargs):
if shallowutil.isenabled(self._repo):
fastpathlinkrev = False
return super(shallowcg1packer, self).generate(
- commonrevs, clnodes, fastpathlinkrev, source
+ commonrevs, clnodes, fastpathlinkrev, source, **kwargs
)
def group(self, nodelist, rlog, lookup, units=None, reorder=None):