##// END OF EJS Templates
changegroup: pass sorted revisions into group() (API)...
changegroup: pass sorted revisions into group() (API) Currently, group() receives a list of nodes and calls _sortgroup() to sort them and turn them into revs. Since the sorting behavior varies depending on the type of data being transferred, I think it makes sense to perform the sorting before group() is invoked. This commit extracts _sortgroup() to a pair of standalone functions. It then moves the calling of these functions to the 3 call sites of group(). group() now receives an iterable of revs instead of nodes. Differential Revision: https://phab.mercurial-scm.org/D4139
Gregory Szorc -
r39018:037debbf default
Show More
Name Size Modified Last Commit Author
/ contrib / python-zstandard / zstd / common
bitstream.h Loading ...
compiler.h Loading ...
cpu.h Loading ...
entropy_common.c Loading ...
error_private.c Loading ...
error_private.h Loading ...
fse.h Loading ...
fse_decompress.c Loading ...
huf.h Loading ...
mem.h Loading ...
pool.c Loading ...
pool.h Loading ...
threading.c Loading ...
threading.h Loading ...
xxhash.c Loading ...
xxhash.h Loading ...
zstd_common.c Loading ...
zstd_errors.h Loading ...
zstd_internal.h Loading ...