mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 01:07:15 +03:00
f9a0e52da4
Summary: This implements treemanifest.diff(). It takes two manifests and iterates over them to produce a python dictionary containing the differences. I'm not proud of this. Just putting it up for review for completeness since it completes the find, diff, iter trifecta. I need to refactor it to remove some of the duplication before it gets accepted. Test Plan: Ran it as part of a perf test suite using diffs across various distances. It takes 250ms to diff across 5000 commits, and 900ms to diff across 50,000 commits. Reviewers: #fastmanifest Differential Revision: https://phabricator.intern.facebook.com/D3646003 |
||
---|---|---|
.. | ||
cdatapack | ||
ctreemanifest | ||
__init__.py | ||
basepack.py | ||
basestore.py | ||
cacheclient.py | ||
constants.py | ||
contentstore.py | ||
datapack.py | ||
debugcommands.py | ||
fileserverclient.py | ||
historypack.py | ||
metadatastore.py | ||
remotefilectx.py | ||
remotefilelog.py | ||
remotefilelogserver.py | ||
repack.py | ||
shallowbundle.py | ||
shallowrepo.py | ||
shallowstore.py | ||
shallowutil.py | ||
shallowverifier.py |