comparison hgext/sparse.py @ 34147:b96cfc309ac5

revlog: refactor chain variable Previously the addgroup loop would set chain to be the result of self._addrevision(node,...). Since _addrevision now always returns the passed in node, we can drop that behavior and just always set chain = node in the loop. This will be useful in a future patch where we refactor the cg.deltachunk logic to another function and therefore chain disappears entirely from this function. Differential Revision: https://phab.mercurial-scm.org/D699
author Durham Goode <durham@fb.com>
date Wed, 13 Sep 2017 10:43:16 -0700
parents e1c56486d1aa
children d8d06a930d60
comparison
equal deleted inserted replaced
34146:9e4f82bc2b0b 34147:b96cfc309ac5