Mercurial > hg
changeset 44381:454bc51f114c
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
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Wed, 19 Feb 2020 13:39:00 +0530 |
parents | dda2341d6664 |
children | f0027a3dd7cb |
files | hgext/remotefilelog/shallowbundle.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/remotefilelog/shallowbundle.py Tue Feb 25 12:41:35 2020 -0800 +++ 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):