mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 00:14:35 +03:00
82d8d57ea7
Summary: This updates CheckoutAction to make the old TreeEntry object optional. This is necessary to support situations where the entry did not exist in the old source control tree, but does exist in the new tree and also exists locally on the file system. This situation is always a conflict, so it only applies when a force checkout is being done. This diff also refactors the TreeInode::computeCheckoutActions() logic to combine the processNewEntry/processRemovedEntry/processEntry lambdas into a single function, as suggested in the code review for D4538516. Reviewed By: wez Differential Revision: D4577924 fbshipit-source-id: 9435205b541a12c75a8b9bd2b2b599a339a2f6c8 |
||
---|---|---|
.. | ||
cli | ||
config | ||
inodes | ||
journal | ||
model | ||
rocksdb | ||
service | ||
store | ||
testharness |