comparison .hgignore @ 39229:2646b8d66b7b

changegroup: move node sorting into deltagroup() The 3 callers of deltagroup() all sort nodes and convert to integer revs immediately before calling deltagroup(). Stepping back a bit, aside from the constraints on node ordering that always apply (namely that a node must follow its ancestor), it makes sense for sorting to be an implementation detail of the store. Moving the sorting into deltagroup() will open the door for moving sorting into a storage API. The test for the changelog in deltagroup() to impact the sorting method is a bit hacky. I suspect this will be resolved once we establish a formal interface for delta group generation and port changelog to it. Differential Revision: https://phab.mercurial-scm.org/D4224
author Gregory Szorc <gregory.szorc@gmail.com>
date Thu, 09 Aug 2018 14:31:25 -0700
parents c8ef9d897e14
children 4ca7a67c94c8
comparison
equal deleted inserted replaced
39228:66f046116105 39229:2646b8d66b7b