sapling/remotefilelog
Durham Goode e4fb7d66bb history: remove getparents and getlinknode apis
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
2016-05-16 10:59:09 -07:00
..
__init__.py repack: add --background option 2016-05-04 14:53:23 -07:00
basestore.py utils: change writefile to use custom atomic temp logic 2016-05-11 13:33:06 -07:00
cacheclient.py checkcode: fix errors in cacheclient and debugcommands 2016-04-26 13:00:31 -07:00
contentstore.py store: implement markledger and cleanup on stores 2016-05-03 12:33:00 -07:00
datapack.py store: read recent packs first 2016-05-04 14:53:16 -07:00
debugcommands.py checkcode: fix errors in cacheclient and debugcommands 2016-04-26 13:00:31 -07:00
fileserverclient.py store: change union stores to accept a list of stores 2016-04-26 15:10:38 -07:00
historypack.py history: remove getparents and getlinknode apis 2016-05-16 10:59:09 -07:00
metadatastore.py history: remove getparents and getlinknode apis 2016-05-16 10:59:09 -07:00
remotefilectx.py checkcode: fix remotefilectx and remotefilelog 2016-04-26 13:00:31 -07:00
remotefilelog.py checkcode: fix remotefilectx and remotefilelog 2016-04-26 13:00:31 -07:00
remotefilelogserver.py checkcode: fix remotefilelogserver and shallowbundle 2016-04-26 13:00:31 -07:00
repack.py repack: add lock to limit it to only one repack 2016-05-04 14:53:19 -07:00
shallowbundle.py shallowbundle: fix broken fallback orig call 2016-04-28 17:34:08 -07:00
shallowrepo.py store: make repack only repack the shared cache 2016-05-04 14:52:33 -07:00
shallowstore.py Add more comments explaining various complexities 2013-11-05 17:19:59 -08:00
shallowutil.py utils: change writefile to use custom atomic temp logic 2016-05-11 13:33:06 -07:00
shallowverifier.py remotefilelog: removing filelog check from verification process 2016-01-07 16:57:39 -08:00