##// END OF EJS Templates
storage: update sqlitestore to use the new `deltamode` parameter...
Boris Feld -
r40464:a0e7fa01 default
parent child Browse files
Show More
@@ -559,7 +559,8 b' class sqlitefilestore(object):'
559 return not storageutil.filedataequivalent(self, node, fulltext)
559 return not storageutil.filedataequivalent(self, node, fulltext)
560
560
561 def emitrevisions(self, nodes, nodesorder=None, revisiondata=False,
561 def emitrevisions(self, nodes, nodesorder=None, revisiondata=False,
562 assumehaveparentrevisions=False, deltaprevious=False):
562 assumehaveparentrevisions=False,
563 deltamode=repository.CG_DELTAMODE_STD):
563 if nodesorder not in ('nodes', 'storage', None):
564 if nodesorder not in ('nodes', 'storage', None):
564 raise error.ProgrammingError('unhandled value for nodesorder: %s' %
565 raise error.ProgrammingError('unhandled value for nodesorder: %s' %
565 nodesorder)
566 nodesorder)
@@ -590,7 +591,7 b' class sqlitefilestore(object):'
590 deltaparentfn=deltabases.__getitem__,
591 deltaparentfn=deltabases.__getitem__,
591 revisiondata=revisiondata,
592 revisiondata=revisiondata,
592 assumehaveparentrevisions=assumehaveparentrevisions,
593 assumehaveparentrevisions=assumehaveparentrevisions,
593 deltaprevious=deltaprevious):
594 deltamode=deltamode):
594
595
595 yield delta
596 yield delta
596
597
General Comments 0
You need to be logged in to leave comments. Login now