mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 01:07:15 +03:00
e4fb7d66bb
Summary: These APIs weren't actually used, and the questions can be answered via the existing getancestors() api anyway. They were originally put in place because they are the type of question that doesn't require the full ancestor tree, so we could answer them without doing in traversal. In an upcoming patch we add the concept of copyfrom back into the historypack, and getparents becomes confusing since it doesn't expose knowledge of copy information. So I just decided to delete it all until we need it. In the future we may want a 'gethistoryinfo(filename, node)' api that just returns (p1, p2, linknode, copyfrom), to fulfill that original need of history information without a full ancestor traversal. Test Plan: Ran the tests Reviewers: #mercurial, ttung, mitrandir Reviewed By: mitrandir Differential Revision: https://phabricator.intern.facebook.com/D3261734 Signature: t1:3261734:1462413665:987c4703e53468a75346aa323188107a5c070fde |
||
---|---|---|
.. | ||
__init__.py | ||
basestore.py | ||
cacheclient.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 |