Patchwork D8134: remotefilelog: add 'changelog' arg to shallowcg1packer.generate (issue6269)

login
register
mail settings
Submitter phabricator
Date Feb. 24, 2020, 6 p.m.
Message ID <31d964c5f72beb0b922f8e41b6e47214@localhost.localdomain>
Download mbox | patch
Permalink /patch/45303/
State Not Applicable
Headers show

Comments

phabricator - Feb. 24, 2020, 6 p.m.
pulkit updated this revision to Diff 20287.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D8134?vs=20258&id=20287

BRANCH
  stable

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D8134/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D8134

AFFECTED FILES
  hgext/remotefilelog/shallowbundle.py

CHANGE DETAILS




To: pulkit, #hg-reviewers, marmoute
Cc: marmoute, mercurial-devel

Patch

diff --git a/hgext/remotefilelog/shallowbundle.py b/hgext/remotefilelog/shallowbundle.py
--- a/hgext/remotefilelog/shallowbundle.py
+++ b/hgext/remotefilelog/shallowbundle.py
@@ -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):