# HG changeset patch # User Boris Feld # Date 1540315222 -7200 # Node ID a0e7fa019290d5348c4a83f6b287f2612d645025 # Parent 30a7d3b6b281b5207e87c53778e16f2ebad1041c storage: update sqlitestore to use the new `deltamode` parameter While updating the filelog class, I forget to update the sqlitestore, tests are now passing with this patch. Differential Revision: https://phab.mercurial-scm.org/D5185 diff -r 30a7d3b6b281 -r a0e7fa019290 hgext/sqlitestore.py --- a/hgext/sqlitestore.py Tue Oct 23 16:24:04 2018 +0300 +++ b/hgext/sqlitestore.py Tue Oct 23 19:20:22 2018 +0200 @@ -559,7 +559,8 @@ return not storageutil.filedataequivalent(self, node, fulltext) def emitrevisions(self, nodes, nodesorder=None, revisiondata=False, - assumehaveparentrevisions=False, deltaprevious=False): + assumehaveparentrevisions=False, + deltamode=repository.CG_DELTAMODE_STD): if nodesorder not in ('nodes', 'storage', None): raise error.ProgrammingError('unhandled value for nodesorder: %s' % nodesorder) @@ -590,7 +591,7 @@ deltaparentfn=deltabases.__getitem__, revisiondata=revisiondata, assumehaveparentrevisions=assumehaveparentrevisions, - deltaprevious=deltaprevious): + deltamode=deltamode): yield delta