sapling/lib/revisionstore
Xavier Deguillard 33688947c6 revisionstore: sort pack files in list_packs
Summary:
Directory listing is different in every OS, and due to the current repack
implementation, this directly affect the order in which the packfiles are added
to the new one. Since the resulting packfile name depends on the hash of its
content, the name was influenced by the directory order.

By sorting the files in list_packs, the packfile name will be independent of
the directory listing and thus be the same for all the OSes.

Reviewed By: singhsrb

Differential Revision: D13700935

fbshipit-source-id: 01e055a0c1bcf7fb2dc4faf614dfb20cd4499017
2019-01-16 15:18:24 -08:00
..
src revisionstore: sort pack files in list_packs 2019-01-16 15:18:24 -08:00
Cargo.toml revisionstore: replace rand::chacha with rand_chacha 2018-12-17 12:07:22 -08:00
RevisionStore.cpp load blobs using hg's rust config and datapack code 2018-10-31 17:58:17 -07:00
RevisionStore.h load blobs using hg's rust config and datapack code 2018-10-31 17:58:17 -07:00