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

login
register
mail settings
Submitter phabricator
Date Feb. 26, 2020, 3:32 p.m.
Message ID <58330c18e184b9abc16698cffcc731de@localhost.localdomain>
Download mbox | patch
Permalink /patch/45322/
State Not Applicable
Headers show

Comments

phabricator - Feb. 26, 2020, 3:32 p.m.
Closed by commit rHG3cd79f55c1d7: remotefilelog: add &#039;changelog&#039; arg to shallowcg1packer.generate (issue6269) (authored by pulkit).
This revision was automatically updated to reflect the committed changes.
This revision was not accepted when it landed; it landed in state "Needs Review".

REPOSITORY
  rHG Mercurial

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

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):