This instance will be upgraded to Heptapod 0.21.0rc3 on 2021-04-23 at 10:30 UTC+2 (a few minutes of down time)

Commit 73914951 authored by Pulkit Goyal's avatar Pulkit Goyal

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

--HG--
branch : stable
parent fca7caeaa6e7
Pipeline #3676 failed with stage
in 28 minutes and 5 seconds
......@@ -54,12 +54,12 @@ def shallowgroup(cls, self, nodelist, rlog, lookup, units=None, reorder=None):
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):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment